gerbilvis / gerbil

Gerbil Hyperspectral Visualization and Analysis Framework
http://gerbilvis.org
GNU General Public License v3.0
43 stars 15 forks source link

Override mode in label editing #24

Closed ypnos closed 8 years ago

ypnos commented 9 years ago

Currently in label editing, when erase mode is on (rubber button), only the current label is erased but not other labels. However when it is off, it is possible to relabel pixels that already have another label.

It would be better to have an "override" mode that makes this distinction unrelated to erase mode.

  1. When override is on, all pixels under the cursor are affected by drawing
  2. When override is off, only pixels under the cursor are affected that are either of the same label, or none (zero label)
ypnos commented 8 years ago

Fixed in 2f3d8094cdab27f94f1aeb0a5e62ecaba971dc2b