Commit
28bc199d13c94a231dd38cc6b9d5b27407cc37f8
Authored by
tfmoraes
Exists in
master
and in
67 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, 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 name setted by the user was not being used in a new mask
| @@ -744,6 +744,8 @@ class Slice(object): |
| @@ -744,6 +744,8 @@ class Slice(object): |
744
| future_mask = Mask() |
744
| future_mask = Mask() |
745
| future_mask.create_mask(self.matrix.shape) |
745
| future_mask.create_mask(self.matrix.shape) |
746
| |
746
| |
| |
747
| + if name: |
| |
748
| + future_mask.name = name |
747
| if colour: |
749
| if colour: |
748
| future_mask.colour = colour |
750
| future_mask.colour = colour |
749
| if opacity: |
751
| if opacity: |