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
Fixes for issue #1936, issue #1956, issue #2035. Undo of Part delete restores the...
[modules/shaper.git]
/
src
/
PartSetPlugin
/
PartSetPlugin_Part.h
diff --git
a/src/PartSetPlugin/PartSetPlugin_Part.h
b/src/PartSetPlugin/PartSetPlugin_Part.h
index 242848300acf36be66efb857f624a8c8d6fc9a62..d6300ae91a485278b3c9b5f87a5595ed4622aa6e 100644
(file)
--- a/
src/PartSetPlugin/PartSetPlugin_Part.h
+++ b/
src/PartSetPlugin/PartSetPlugin_Part.h
@@
-70,6
+70,9
@@
class PartSetPlugin_Part : public ModelAPI_CompositeFeature
/// Use plugin manager for features creation
PartSetPlugin_Part();
+
+ /// Just removes all features of the part without touching the document data (to be able undo)
+ PARTSETPLUGIN_EXPORT virtual void erase();
};
#endif