Commit
3daf5e6e48db792709612b0b1008ab14003a4ec0
Authored by
tfmoraes
Exists in
master
and in
68 other branches
3d_inter_style, MIPs, beta3, beta4, brush_pix, canvas_reeng, canvas_text, casmoothing_cython, clean, command-line, cython_threshold, debian_cython, editor_improvements, encoding, ff_mask, ff_mask_improv, ffill_gui, ffill_segmentation, fill_holes_auto, fixes_pre_beta5, floodfill, get_pixel, import_mesh, interactor_style, inv3.0.1, invesalius-libift, mactoolbar, mactoolbar_bkp, manual_v3.1, mask_boolean_op, mask_boolean_op_bkp, mask_copy, mask_greatest_component, measure, measure_canvas, measure_improvements, measure_placement_test, measure_spacing, orientation, phoenix, region_growing_confidence, remote, remove_local_wxpython, rmatsuda-fix_ref_MTC, rmatsuda-fix_remove_marker_bug, rmatsuda-trigger_bug_fix, rotvol, segmentation_menu, select_part, smoothing_bin, smoothing_bin_pll, surface_area, threshold_history, user_guide_en, usp-navegador, vti, vtk6, watershed, watershed_improvements, watershed_improvements_bkp, watershed_merge, workdir, wwwlgui, wx2.9_mac, wxgtk3, wxgtk3_b5, wxgtk3_bkp, xmartlabs-command-line
FIX: The volume WW/WL behavior follows the slice behavior
| @@ -195,7 +195,7 @@ class Volume(): |
| @@ -195,7 +195,7 @@ class Volume(): |
195
| (ww, wl)) |
195
| (ww, wl)) |
196
| |
196
| |
197
| def OnSetRelativeWindowLevel(self, pubsub_evt): |
197
| def OnSetRelativeWindowLevel(self, pubsub_evt): |
198
| - diff_ww, diff_wl = pubsub_evt.data |
198
| + diff_wl, diff_ww = pubsub_evt.data |
199
| ww = self.ww + diff_ww |
199
| ww = self.ww + diff_ww |
200
| wl = self.wl + diff_wl |
200
| wl = self.wl + diff_wl |
201
| ps.Publisher().sendMessage('Set volume window and level text', |
201
| ps.Publisher().sendMessage('Set volume window and level text', |