Commit 8306b0f2e2f95829c7b0811406a0c96f1895b5de

Authored by tfmoraes
1 parent 31063346

Only setting the cursor coordinates to world coordinate of the center of pixel s…

…lice when the user is moving it, on clicking is not necessary
Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -561,8 +561,6 @@ class Viewer(wx.Panel):
561 561 self.pick.Pick(mouse_x, mouse_y, 0, render)
562 562  
563 563 coord = self.get_coordinate_cursor()
564   - position = self.slice_data.actor.GetInput().FindPoint(coord)
565   - coord = self.slice_data.actor.GetInput().GetPoint(position)
566 564 slice_data.cursor.SetPosition(coord)
567 565 slice_data.cursor.SetEditionPosition(
568 566 self.get_coordinate_cursor_edition(slice_data))
... ...