Geometry: Fix profile modifications update status.

scenarios
Pierre-Antoine 2025-08-12 10:43:17 +02:00
parent a3f20796d7
commit 7fa86c29e7
1 changed files with 4 additions and 0 deletions

View File

@ -988,8 +988,12 @@ class ProfileXYZ(Profile, SQLSubModel):
self.point(i+1)
)
self.modified()
def shift(self, x, y, z):
for p in self.points:
p.x = p.x + x
p.y = p.y + y
p.z = p.z + z
self.modified()