sketchfab / blender-plugin

Apache License 2.0
1.14k stars 125 forks source link

Update __init__.py - Release Blender 4.0 #120

Open FcDesign opened 11 months ago

FcDesign commented 11 months ago

bpy.ops.import_scene.gltf(filepath=gltf_path, files=[{"name":"scene.gltf", "name":"scene.gltf"}], loglevel=50)

the file was correctly downloaded into the windows temporary folder but the import function was not performed

I am not an expert programmer and the method applied may not be correct

I copied the performed import function for the gltf files and modified the variables

for blender 4.0.1 version it works