Skip to content

Commit

Permalink
closes DLR-RM#1080
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyYashkin committed Mar 31, 2024
1 parent eaf6d86 commit c4c5a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blenderproc/python/types/EntityUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def duplicate(self, duplicate_children: bool = True, linked: bool = False) -> "E

if duplicate_children:
for child in self.get_children():
duplicate_child = child.duplicate(duplicate_children=duplicate_children)
duplicate_child = child.duplicate(duplicate_children=duplicate_children, linked=linked)
duplicate_child.set_parent(duplicate_obj)

duplicate_child.blender_obj.matrix_basis = child.blender_obj.matrix_basis.copy()
Expand Down

0 comments on commit c4c5a37

Please sign in to comment.