Skip to content

Update __init__.py - Release Blender 4.0#120

Open
FcDesign wants to merge 1 commit intosketchfab:masterfrom
FcDesign:patch-1
Open

Update __init__.py - Release Blender 4.0#120
FcDesign wants to merge 1 commit intosketchfab:masterfrom
FcDesign:patch-1

Conversation

@FcDesign
Copy link

@FcDesign FcDesign commented Dec 5, 2023

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant