View Issue Details

IDProjectCategoryView StatusLast Update
0004464Slicer4Module Modelspublic2019-11-21 22:55
Reporterhildegunst Assigned Tolassoan  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformamd64OSWindowsOS Version7
Product Version 
Target VersionFixed in VersionSlicer 4.11.0 
Summary0004464: Scalar overlays: Displayed range not restored when loading saved scene
Description

Slicer 4.8.0 r26489
When a model with a scalar overlay is saved (as .mrb), the display settings (i.e. the displayed range) of the scalar overlay are lost and reset to default values.
Specifically, I am displaying a mesh obtained from an electroanatomic mapping system (imported into Slicer as Wavefront .obj file) and the corresponding voltage data (imported into Slicer as Freesurfer .w scalar overlay).
When manually chosing the displayed range (0.5 - 1.5) and saving the scene as .mrb, the displayed range is reset to 0.06-22.37, which is minimum and maximum, after re-opening the saved file.

Steps To Reproduce

File -> Add Data -> Rhythmia-mesh.obj
Models -> Select Rhythmia-mesh
File-> Add Data -> Rhythmia-voltage.w
Model -> Scalars:

  • Select color map "rainbow"
  • Scalar range mode: Manual
  • Displayed range 0.5 - 1.5
    (See screenshot1.png)
    File -> Save -> bundled as .mrb file
    (See save-dialog.png)
    File -> Close scene
    File -> Add data -> Select .mrb file that was saved previously
    Displayed range has changed and scalar overlay looks significantly different
    (See screenshot2.png)
Tagsmodels

Activities

hildegunst

hildegunst

2017-10-19 20:56

reporter  

Rhythmia-mesh.obj (1,291,628 bytes)
Rhythmia-voltage.w (48,466 bytes)
screenshot1.png (269,934 bytes)
screenshot1.png (269,934 bytes)
save-dialog.png (19,204 bytes)
save-dialog.png (19,204 bytes)
screenshot2.png (255,120 bytes)
screenshot2.png (255,120 bytes)
lassoan

lassoan

2018-05-28 22:01

developer   ~0015760

Fixed in r27208.

The problem was that the storage node always overwrote the scalar range values with the data range (even if scalar range flag was set to manual range setting).

hildegunst

hildegunst

2019-11-21 16:17

reporter   ~0016299

It looks like this has been re-introduced in 4.11. r28643 after having been fixed in r27208.
The behaviour is the same as reported before: Scalar overlay displays are reverted to "auto" instead of a manually selected threshold when saving the scene.

lassoan

lassoan

2019-11-21 22:55

developer   ~0016300

Thank you for reporting. The regression was due to mistake in a recent refactoring.

The issue is fixed in r28645.

Issue History

Date Modified Username Field Change
2017-10-19 20:56 hildegunst New Issue
2017-10-19 20:56 hildegunst File Added: Rhythmia-mesh.obj
2017-10-19 20:56 hildegunst File Added: Rhythmia-voltage.w
2017-10-19 20:56 hildegunst File Added: screenshot1.png
2017-10-19 20:56 hildegunst File Added: save-dialog.png
2017-10-19 20:56 hildegunst File Added: screenshot2.png
2017-10-19 20:56 hildegunst Tag Attached: models
2017-10-19 20:58 hildegunst Description Updated View Revisions
2017-10-19 21:51 hildegunst Description Updated View Revisions
2018-05-28 22:01 lassoan Assigned To => lassoan
2018-05-28 22:01 lassoan Status new => resolved
2018-05-28 22:01 lassoan Resolution open => fixed
2018-05-28 22:01 lassoan Fixed in Version => Slicer 4.9.0
2018-05-28 22:01 lassoan Note Added: 0015760
2019-11-21 16:17 hildegunst Status resolved => feedback
2019-11-21 16:17 hildegunst Resolution fixed => reopened
2019-11-21 16:17 hildegunst Note Added: 0016299
2019-11-21 22:55 lassoan Status feedback => resolved
2019-11-21 22:55 lassoan Resolution reopened => fixed
2019-11-21 22:55 lassoan Fixed in Version Slicer 4.9.0 => Slicer 4.11.0
2019-11-21 22:55 lassoan Note Added: 0016300