Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to Import MSFS planes to paint it #3

Open
Dites33 opened this issue May 25, 2022 · 0 comments
Open

Impossible to Import MSFS planes to paint it #3

Dites33 opened this issue May 25, 2022 · 0 comments

Comments

@Dites33
Copy link

Dites33 commented May 25, 2022

Current Behavior

Trying to import A339neo from HEadwin (free plane) to paint it. Error message appears

bpy.context.space_data.system_folders_active = 5
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2_init_.py", line 1109, in execute
return self.import_gltf2(context)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2_init_.py", line 1137, in import_gltf2
if self.unit_import(path, import_settings) == {'FINISHED'}:
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2_init_.py", line 1157, in unit_import
BlenderGlTF.create(gltf_importer)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 42, in create
BlenderGlTF._create(gltf)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 49, in _create
BlenderScene.create(gltf)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_scene.py", line 44, in create
compute_vnodes(gltf)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 27, in compute_vnodes
mark_bones_and_armas(gltf)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 162, in mark_bones_and_armas
arma_id = deepest_common_ancestor(gltf, descendants)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 199, in deepest_common_ancestor
path = path_from_root(gltf, vnode_id)
File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 211, in path_from_root
vnode_id = gltf.vnodes[vnode_id].parent
KeyError: -1

location: :-1

bpy.ops.import_scene.gltf(filepath="H:\Community Planes\headwind-aircraft-a330-900\SimObjects\Airplanes\Headwind_A330neo\model\A330NEO_LOD00.gltf", files=[{"name":"A330NEO_LOD00.gltf", "name":"A330NEO_LOD00.gltf"}], loglevel=50)

Expected Behavior

I expected to import the 3d mesh from the plane to paint it
What is the way to import 3d model right now ? :( I'm lost

Steps To Reproduce

On Windows 10, Blender 3.1.2 clean install
Install glTF-Blender-IO-MSFS, activate and restart Blender with admin privs
Install msfs-blender-tools, activate, install dependencies, restart Blender
Import MSFS .gltf model, all extensions to importer is enabled
Import fails with above message

Environment

- OS:Windows 10
- Blender: 3.1.2 fresh install
- msfs-blender-tools: 0.0.1

Anything else?

No response

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

No branches or pull requests

1 participant