Skip to content

Commit

Permalink
fix(referenceId): Fix collection & refId conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
NMC-TBone authored and StjerneIdioten committed Nov 27, 2023
1 parent cb99993 commit 54be34a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/i3dio/node_classes/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ def populate_xml_element(self):
self._write_properties()
self._write_user_attributes()
self._add_transform_to_xml_element(self._transform_for_conversion)
self._add_reference_file()
if not isinstance(self.blender_object, bpy.types.Collection):
self._add_reference_file()

def add_child(self, node: SceneGraphNode):
self.children.append(node)
Expand Down

0 comments on commit 54be34a

Please sign in to comment.