Draft: fix props_changed_placement_only for attached clones and similar (#9623)

For an attached object whose Shape depends on one or more source objects props_changed_placement_only should always return False.
This commit is contained in:
Roy-043
2023-05-21 16:15:55 +02:00
committed by GitHub
parent 38230171f4
commit e1829be977
12 changed files with 56 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ class Clone(DraftObject):
return Part.makeCompound(shapes)
def execute(self,obj):
if self.props_changed_placement_only():
if self.props_changed_placement_only(obj):
if hasattr(obj,"positionBySupport"):
obj.positionBySupport()
self.props_changed_clear()