mirror of https://gitlab.com/pamhyr/pamhyr2
Geometry: Fix profile modifications update status.
parent
a3f20796d7
commit
7fa86c29e7
|
|
@ -988,8 +988,12 @@ class ProfileXYZ(Profile, SQLSubModel):
|
||||||
self.point(i+1)
|
self.point(i+1)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
self.modified()
|
||||||
|
|
||||||
def shift(self, x, y, z):
|
def shift(self, x, y, z):
|
||||||
for p in self.points:
|
for p in self.points:
|
||||||
p.x = p.x + x
|
p.x = p.x + x
|
||||||
p.y = p.y + y
|
p.y = p.y + y
|
||||||
p.z = p.z + z
|
p.z = p.z + z
|
||||||
|
|
||||||
|
self.modified()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue