View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001995 | Slicer4 | Module SceneViews | public | 2012-05-07 18:30 | 2012-08-21 09:47 |
Reporter | finetjul | Assigned To | alexy | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.1.0 | ||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0001995: Scene view references | ||||
Description | 2 issues: When storing a scene, the internal scene (vtkMRMLSceneViewNode::Nodes) references (vtkMRMLScene::ReferencingNodes) are not updated. Manually calling vtkMRMLSceneViewNode::UpdateScene(scene) results in having nodes from the scene into the sceneview node scene (vtkMRMLSceneViewNode::Nodes) references. Make sure py_LoadAnnotationRulerScene is passing | ||||
Tags | No tags attached. | ||||
The described behavior seems reasonable to me, you need to update references when you add/change nodes in the scene but not when you copy existing state into a SceneView node. What's it the real problem here? |
|
There is inconsistency between: In a) vtkMRMLSceneViewNode::Nodes scene doesn't have references In case of b), there is a problem because: These errors are shown in py_LoadAnnotationRulerScene and vtkMRMLSceneViewNodeStoreSceneTest::references(). |
|
I suggest:
|
|
ViewNode builds it's own ReferencingNodes vector rather than copying one from the scene. Also cleans references when reusing ViewNode. http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20067 |
|
Dear issue reporter, Good news :) Slicer developers SOLVED the problem you reported - YOU now need to VERIFY and CLOSE this issue. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-07 18:30 | finetjul | New Issue | |
2012-05-07 18:30 | finetjul | Status | new => assigned |
2012-05-07 18:30 | finetjul | Assigned To | => alexy |
2012-05-08 06:30 | alexy | Note Added: 0004196 | |
2012-05-08 07:54 | finetjul | Note Added: 0004197 | |
2012-05-08 13:05 | finetjul | Note Added: 0004202 | |
2012-05-09 08:51 | finetjul | Relationship added | related to 0001992 |
2012-05-10 19:47 | finetjul | Relationship added | related to 0002018 |
2012-05-11 14:51 | alexy | Note Added: 0004339 | |
2012-05-11 14:51 | alexy | Status | assigned => resolved |
2012-05-11 14:51 | alexy | Resolution | open => fixed |
2012-07-27 15:40 | jcfr | Note Added: 0005368 | |
2012-07-30 07:25 | finetjul | Status | resolved => closed |
2012-07-30 07:25 | finetjul | Fixed in Version | => Slicer 4.2.0 - October 1st 2012 |
2012-08-21 09:47 | jcfr | Target Version | => Slicer 4.2.0 - Feature freeze Sept 1st 2012 |