From 5722493b3ca9bb71f0311f158d26888fffff72d9 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Fri, 5 Apr 2019 09:50:55 -0300 Subject: [PATCH] Added layer attribute to DrawCrop2DRetangle (fix: #178) --- invesalius/data/geometry.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/data/geometry.py b/invesalius/data/geometry.py index 6b22661..7f7a938 100644 --- a/invesalius/data/geometry.py +++ b/invesalius/data/geometry.py @@ -271,6 +271,7 @@ class DrawCrop2DRetangle(): self.last_x = 0 self.last_y = 0 self.last_z = 0 + self.layer = 0 def MouseMove(self, x, y): -- libgit2 0.21.2