diff --git a/__init__.py b/__init__.py index b9a9e6e..df94d35 100644 --- a/__init__.py +++ b/__init__.py @@ -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)