diff --git a/blenderproc/python/types/EntityUtility.py b/blenderproc/python/types/EntityUtility.py index 81c691f25..5e4c71d9f 100644 --- a/blenderproc/python/types/EntityUtility.py +++ b/blenderproc/python/types/EntityUtility.py @@ -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()