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

@@ -296,7 +296,7 @@ class PathArray(DraftLink):
def execute(self, obj):
"""Execute when the object is created or recomputed."""
if self.props_changed_placement_only() \
if self.props_changed_placement_only(obj) \
or not obj.Base \
or not obj.PathObject:
self.props_changed_clear()