Skip to content

Commit

Permalink
Merge pull request #2361 from KhronosGroup/fix_2357
Browse files Browse the repository at this point in the history
Fix #2357 fix crash with option full hierarchy
  • Loading branch information
julienduroure authored Sep 26, 2024
2 parents cfe5a73 + 5db0635 commit 11f9aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/io_scene_gltf2/blender/exp/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def recursive_node_traverse(self, blender_object, blender_bone, parent_uuid, par
# 2. Old Dupli vertices feature
# For any other case, children are real children
if (self.nodes[parent_uuid].blender_type == VExportNode.INST_COLLECTION or original_object is not None) or \
(self.nodes[parent_uuid].blender_object is not None and self.nodes[parent_uuid].blender_object.is_instancer is True):
(self.nodes[parent_uuid].blender_type != VExportNode.COLLECTION and self.nodes[parent_uuid].blender_object is not None and self.nodes[parent_uuid].blender_object.is_instancer is True):
self.nodes[parent_uuid].children_type[node.uuid] = VExportNode.CHILDREN_IS_IN_COLLECTION if is_children_in_collection is True else VExportNode.CHILDREN_REAL
else:
# We are in a regular case where children are real children
Expand Down

0 comments on commit 11f9aef

Please sign in to comment.