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

@@ -196,7 +196,7 @@ class Shape2DView(DraftObject):
return objs
def execute(self, obj):
if self.props_changed_placement_only() \
if self.props_changed_placement_only(obj) \
or not getattr(obj, "AutoUpdate", True):
obj.positionBySupport()
self.props_changed_clear()