This change picks up a change from volume-viewer to let control points be out of range, so they are remembered when they have to be remapped multiple consecutive times. We adopt volume-viewer's method for rebuilding the lookup table array from the control points.
Bonus bug fix: control points receiving a color change but no position change, were not actually updating colors in the view. Added an update call to make sure it happens.
This change picks up a change from volume-viewer to let control points be out of range, so they are remembered when they have to be remapped multiple consecutive times. We adopt volume-viewer's method for rebuilding the lookup table array from the control points.
Bonus bug fix: control points receiving a color change but no position change, were not actually updating colors in the view. Added an update call to make sure it happens.
(volume viewer PR linked below)