Commit 7480a7f335f399cbf2ed281aa7d653316b60a1b9
1 parent
faa6c325
Exists in
master
and in
67 other branches
FIX: Fixed problem in unzoom
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_slice.py
| ... | ... | @@ -358,7 +358,6 @@ class Viewer(wx.Panel): |
| 358 | 358 | window, level = pubsub_evt.data |
| 359 | 359 | self.acum_achange_window, self.acum_achange_level = (window, level) |
| 360 | 360 | self.SetWLText(window, level) |
| 361 | - | |
| 362 | 361 | |
| 363 | 362 | def OnChangeSliceMove(self, evt, obj): |
| 364 | 363 | if (self.left_pressed): |
| ... | ... | @@ -409,7 +408,7 @@ class Viewer(wx.Panel): |
| 409 | 408 | slice_data = self.get_slice_data(ren) |
| 410 | 409 | ren.ResetCamera() |
| 411 | 410 | ren.ResetCameraClippingRange() |
| 412 | - self.Reposition(slice_data) | |
| 411 | + #self.Reposition(slice_data) | |
| 413 | 412 | self.interactor.Render() |
| 414 | 413 | |
| 415 | 414 | def OnSpinMove(self, evt, obj): | ... | ... |