From 8306b0f2e2f95829c7b0811406a0c96f1895b5de Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Tue, 3 May 2011 18:29:17 +0000 Subject: [PATCH] Only setting the cursor coordinates to world coordinate of the center of pixel slice when the user is moving it, on clicking is not necessary --- invesalius/data/viewer_slice.py | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index c6f7ad6..aede870 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -561,8 +561,6 @@ class Viewer(wx.Panel): self.pick.Pick(mouse_x, mouse_y, 0, render) coord = self.get_coordinate_cursor() - position = self.slice_data.actor.GetInput().FindPoint(coord) - coord = self.slice_data.actor.GetInput().GetPoint(position) slice_data.cursor.SetPosition(coord) slice_data.cursor.SetEditionPosition( self.get_coordinate_cursor_edition(slice_data)) -- libgit2 0.21.2