diff --git a/addons/io_sketchfab_plugin/__init__.py b/addons/io_sketchfab_plugin/__init__.py index 41ba98b..78aca4b 100644 --- a/addons/io_sketchfab_plugin/__init__.py +++ b/addons/io_sketchfab_plugin/__init__.py @@ -1184,7 +1184,7 @@ def async_func(*args, **kwargs): def import_model(gltf_path, uid): - bpy.ops.wm.import_modal('INVOKE_DEFAULT', gltf_path=gltf_path, uid=uid) + bpy.ops.import_scene.gltf(filepath=gltf_path, files=[{"name":"scene.gltf", "name":"scene.gltf"}], loglevel=50) def build_search_request(query, pbr, animated, staffpick, face_count, category, sort_by):