View Issue Details

IDProjectCategoryView StatusLast Update
0001856Slicer4Module SceneViewspublic2012-10-21 12:55
Reporterkikinis Assigned Tonicole  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformAppleOSOS XOS Version10.7.3
Product VersionSlicer 4.0.1 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.1.1 
Summary0001856: sceneview does not survive a roundtrip
Description

I created a new scene from scratch, created a few sceneviews and saved the scene into a new folder. exit slicer, restart slicer load scene (the one with a 2 in the name).

I put the scene into ronsexamples: Demo-2012-04-05

TagsNo tags attached.

Relationships

related to 0001744 closedfinetjul sceneview with volume rendering does not survive roundtrip 
related to 0001887 closedfinetjul sceneview roundtrip problem with LUT and with VR 
related to 0001864 closednicole Restore Scene View Issue with custom label maps 
related to 0002531 closedfinetjul sceneview with VR does not survive roundtrip 

Activities

nicole

nicole

2012-08-30 14:39

administrator   ~0005899

Can load the scene and see the scene views now.

kikinis

kikinis

2012-09-15 09:48

developer   ~0006086

I loaded the scene in mac nightly 9-15 upon restoring the second sceneview in the listing, the camera is in the wrong position in the 3d viewer. When trying to rotate by holding down the left mouse button in the 3d viewer, slicer crashes.

nicole

nicole

2012-09-27 14:27

administrator   ~0006256

Looks like they were related: the camera displayable manager wasn't doing the right thing on scene restore, the 3d interactor had a camera with a null scene that was causing the crash, and the camera displayable manager was still pointing to the original scene camera so the view wasn't updating.
There is also some confusion over importing a mrml scene with a camera node: that node id gets reset to vtkMRMLCameraNode2, but the scene views inside also re-id nodes that have clashing ids.
A previous commit 21037 got closer to fixing this, but OnMRMLSceneEndRestore needed a few more checks. Testing my fix, still have an occasional crash on scene close.

nicole

nicole

2012-09-27 14:33

administrator   ~0006257

svn 21072 should fix the camera settings not getting restored on scene view restore.

Issue History

Date Modified Username Field Change
2012-04-05 08:09 kikinis New Issue
2012-04-05 10:22 finetjul Status new => assigned
2012-04-05 10:22 finetjul Assigned To => nicole
2012-08-20 10:10 nicole Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-20 11:53 jcfr Relationship added related to 0001744
2012-08-20 11:54 jcfr Relationship added related to 0001887
2012-08-20 11:54 jcfr Relationship added related to 0001864
2012-08-23 11:55 nicole Category MRML => Scene Views
2012-08-30 14:39 nicole Note Added: 0005899
2012-08-30 14:39 nicole Status assigned => resolved
2012-08-30 14:39 nicole Fixed in Version => Slicer 4.1.1
2012-08-30 14:39 nicole Resolution open => unable to reproduce
2012-09-15 09:48 kikinis Note Added: 0006086
2012-09-15 09:48 kikinis Status resolved => feedback
2012-09-15 09:48 kikinis Resolution unable to reproduce => reopened
2012-09-21 07:40 finetjul Relationship added has duplicate 0002531
2012-09-21 07:42 finetjul Relationship replaced related to 0002531
2012-09-27 14:27 nicole Note Added: 0006256
2012-09-27 14:33 nicole Note Added: 0006257
2012-09-27 14:33 nicole Status feedback => resolved
2012-09-27 14:33 nicole Resolution reopened => fixed
2012-10-21 12:55 kikinis Status resolved => closed