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

glTF import: Camera can have some children

parent cded9f17
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,10 @@ class BlenderNode(): ...@@ -101,6 +101,10 @@ class BlenderNode():
pynode.blender_object = obj.name pynode.blender_object = obj.name
BlenderNode.set_parent(gltf, pynode, obj, parent) BlenderNode.set_parent(gltf, pynode, obj, parent)
if pynode.children:
for child_idx in pynode.children:
BlenderNode.create(gltf, child_idx, node_idx)
return return
if pynode.is_joint: if pynode.is_joint:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment