View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001629 | Slicer4 | Module SceneViews | public | 2011-12-15 01:54 | 2014-03-06 06:09 |
Reporter | kikinis | Assigned To | nicole | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | MAC | OS | OS X | OS Version | 10.7.2 |
Product Version | Slicer 4.0.0 | ||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0001629: different sceneviews available depending on how a scene is loaded | ||||
Description | 2011-11-11-NeuroDTI in Rons examples. Scene called Ademo | ||||
Tags | No tags attached. | ||||
2011-12-15 01:54
|
|
2011-12-15 01:54
|
|
There are two problems here:
BTW: in both cases I started slicer, loaded the scene and took the snapshot. I did not use close scene. |
|
Possible clue: I believe AddData is importing into the existing scene while Load Scene closes the old scene first. |
|
As noted above, I exited and restarted slicer before loading the scene in both cases. |
|
If I don't hide the scene, it appears that the last scene view node is not inside the top level hierarchy node |
|
2012-03-12 17:27
|
|
You should see the same behaviour using the Welcome module Load Data button (or File -> Add Data) as you would see using File -> Import Scene. File -> Load Scene closes the current scene first and then calls Import, and since we were having some scene close issues, fixing those might have resolved this problem slightly. Looking at the data in question, the mrml file shows the VirtualProbe storage node (vtkMRMLSceneViewStorageNode12) inside of a scene view (Master Scene View) as well as being it's own top level scene view with it's own storage node with the same id. I don't think that storing a scene is supposed to store scene view nodes, I think I fixed a related bug a while back, but the mrml file ADemo.mrml isn't showing a revision number. |
|
svn 19603 fixes import, restore, close crash |
|
Looking more closely at the ADemo.mrml file, there are hierarchy nodes that are missing the pointers to their associated nodes. Nothing's pointing to the VirutalProbe scene view, so it's not showing up in the Scene Views tree on Scene Load. It shows up in the list of scene views available to restore from the tool bar along the top because that just scans the scenes for scene view nodes and doesn't need the hierarchy nodes. I could write some code that after scene import is done, it makes sure that scene view nodes all have hierarchy nodes, but I'd rather that the mrml scene file was updated to be correct (attached to this bug). |
|
2012-03-14 08:29
|
ADemo.mrml (332,848 bytes) |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-12-15 01:54 | kikinis | New Issue | |
2011-12-15 01:54 | kikinis | Status | new => assigned |
2011-12-15 01:54 | kikinis | Assigned To | => finetjul |
2011-12-15 01:54 | kikinis | File Added: Screen Shot 2011-12-15 at 6.48.41 AM.png | |
2011-12-15 01:54 | kikinis | File Added: Screen Shot 2011-12-15 at 6.47.36 AM.png | |
2011-12-15 02:00 | kikinis | Note Added: 0003447 | |
2011-12-15 03:13 | pieper | Note Added: 0003448 | |
2011-12-15 05:34 | kikinis | Note Added: 0003450 | |
2012-03-12 17:27 | finetjul | Note Added: 0003848 | |
2012-03-12 17:27 | finetjul | File Added: sceneviewnotintoplevelhierarchynode.png | |
2012-03-12 17:27 | finetjul | Assigned To | finetjul => nicole |
2012-03-14 07:25 | nicole | Note Added: 0003863 | |
2012-03-14 08:08 | nicole | Note Added: 0003864 | |
2012-03-14 08:28 | nicole | Note Added: 0003865 | |
2012-03-14 08:29 | nicole | File Added: ADemo.mrml | |
2012-04-06 07:03 | finetjul | Category | Base Code => Scene Views |
2012-04-10 10:59 | finetjul | Relationship added | related to 0001887 |
2012-08-20 10:11 | nicole | Status | assigned => resolved |
2012-08-20 10:11 | nicole | Resolution | open => fixed |
2012-08-21 11:32 | jcfr | Target Version | => Slicer 4.2.0 - Feature freeze Sept 1st 2012 |
2012-09-15 09:58 | kikinis | Status | resolved => closed |
2014-03-06 06:09 | jcfr | Fixed in Version | => Slicer 4.2.0 |