Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sub objects should not be visualized as the preview of the current operation.
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_DataTreeModel.h
diff --git
a/src/PartSet/PartSet_DataTreeModel.h
b/src/PartSet/PartSet_DataTreeModel.h
index ff96baf9b6deb42ce92800a1076806d7fdc51289..0e45f455595c3ed370444894f4c53913b84a1279 100644
(file)
--- a/
src/PartSet/PartSet_DataTreeModel.h
+++ b/
src/PartSet/PartSet_DataTreeModel.h
@@
-74,6
+74,10
@@
class PartSet_PartModel : public PartSet_FeaturesModel
: PartSet_FeaturesModel(theParent)
{
}
+ ~PartSet_PartModel()
+ {
+ myPart = FeaturePtr();
+ }
/// Set part id
/// \param theId a new id