View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004033 | Slicer4 | Core: MRML | public | 2015-08-12 06:26 | 2018-03-02 11:07 |
Reporter | jonieva | Assigned To | nicole | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | Slicer 4.5.0-1 | |||
Summary | 0004033: Duplicated event when a new vtkMRMLScalarVolumeNode is added to the scene | ||||
Description | When a new vtkMRMLScalarVolumeNode is added to the scene, the event "slicer.vtkMRMLScene.NodeAddedEvent" is triggered two times | ||||
Additional Information | Code to reproduce it quickly in a Python module:
| ||||
Tags | No tags attached. | ||||
Code snippet from JC to reproduce: import vtk @vtk.calldata_type(vtk.VTK_OBJECT) slicer.mrmlScene.AddObserver(slicer.vtkMRMLScene.NodeAddedEvent, onNodeAdded) |
|
I'd forgotten to take out the node added signal that I'd put in during one iteration of using a mini scene to load volumes into the main scene. Pull request is here: |
|
Fix integrated in svn 24509 http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=24509 |
|
Import 2017-06-07 23:51:09: master fcef008b 2015-08-26 16:36:46 naucoin Details Diff |
BUG: remove extra node added event When switching to using a mini scene to try various ways of loading volumes, the final node added event wasn't removed when I switched to using AddNode to move the final set of nodes into the main scene. This change removes the extra node added event triggered by adding a volume. Issue 0004033 git-svn-id: http://svn.slicer.org/Slicer4/trunk@24509 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-12 06:26 | jonieva | New Issue | |
2015-08-12 06:26 | jonieva | Status | new => assigned |
2015-08-12 06:26 | jonieva | Assigned To | => alexy |
2015-08-12 06:35 | nicole | Assigned To | alexy => nicole |
2015-08-12 06:37 | nicole | Note Added: 0013238 | |
2015-08-17 13:03 | nicole | Note Added: 0013244 | |
2015-08-18 12:46 | nicole | Relationship added | related to 0003956 |
2015-08-26 13:11 | nicole | Note Added: 0013247 | |
2015-08-26 13:11 | nicole | Status | assigned => resolved |
2015-08-26 13:11 | nicole | Fixed in Version | => Slicer 4.4.1 |
2015-08-26 13:11 | nicole | Resolution | open => fixed |
2015-09-09 08:29 | jcfr | Fixed in Version | Slicer 4.4.1 => Slicer 4.5.0-1 |
2017-06-10 08:51 | Changeset attached | => Slicer master fcef008b | |
2018-03-02 11:07 | jcfr | Status | resolved => closed |