Commit 5722493b3ca9bb71f0311f158d26888fffff72d9
1 parent
350bc7c1
Exists in
master
Added layer attribute to DrawCrop2DRetangle (fix: #178)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/geometry.py
@@ -271,6 +271,7 @@ class DrawCrop2DRetangle(): | @@ -271,6 +271,7 @@ class DrawCrop2DRetangle(): | ||
271 | self.last_x = 0 | 271 | self.last_x = 0 |
272 | self.last_y = 0 | 272 | self.last_y = 0 |
273 | self.last_z = 0 | 273 | self.last_z = 0 |
274 | + self.layer = 0 | ||
274 | 275 | ||
275 | def MouseMove(self, x, y): | 276 | def MouseMove(self, x, y): |
276 | 277 |