Skip to content
Snippets Groups Projects
Commit 22e76bba authored by Julien Duroure's avatar Julien Duroure
Browse files

glTF impoter: Fix bad check when node id is 0

parent cf3ec0d1
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ class BlenderBoneAnim():
translation_keyframe = loc_gltf_to_blender(values[idx * 3 + 1])
else:
translation_keyframe = loc_gltf_to_blender(values[idx])
if not node.parent:
if node.parent is None:
parent_mat = Matrix()
else:
if not gltf.data.nodes[node.parent].is_joint:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment