Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1389,8 +1389,8 @@ def execute(self, context):
return {'FINISHED'}

def modal(self, context, event):
if bpy.context.scene.render.engine not in ["CYCLES", "BLENDER_EEVEE"]:
bpy.context.scene.render.engine = "BLENDER_EEVEE"
if bpy.context.scene.render.engine not in ["CYCLES", "BLENDER_EEVEE_NEXT"]:
bpy.context.scene.render.engine = "BLENDER_EEVEE_NEXT"
try:
old_objects = [o.name for o in bpy.data.objects] # Get the current objects inorder to find the new node hierarchy
bpy.ops.import_scene.gltf(filepath=self.gltf_path)
Expand Down