Import 2017-06-07 23:51:09: master 56fb1ef3
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
pinter | pinter | master | 2017-03-09 16:01:12 | master 4f1abf9c |
Changeset | BUG: Fixed RemoveAllChildren method in subject hierarchy It deleted the scene's immediate children, but in course of deletion, ReparentChildrenToParent was called (which is a feature to prevent such deletions to result dangling orphan items in memory), so the children of the top-level node's children were added under the scene, which were then not deleted. This caused a memory leak git-svn-id: http://svn.slicer.org/Slicer4/trunk@25773 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Libs/MRML/Core/vtkMRMLSubjectHierarchyNode.cxx | Diff File |