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 864f99bf98
commit 52b41fee06
12 changed files with 56 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ class Block(DraftObject):
obj.addProperty("App::PropertyLinkList","Components", "Draft", _tip)
def execute(self, obj):
if self.props_changed_placement_only():
if self.props_changed_placement_only(obj):
obj.positionBySupport()
self.props_changed_clear()
return