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
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
PartSetPlugin
/
PartSetPlugin_Part.h
diff --git
a/src/PartSetPlugin/PartSetPlugin_Part.h
b/src/PartSetPlugin/PartSetPlugin_Part.h
index f1ee4306421704bdbd9ddf2af2a055113f15e9b9..eaae463ad2831260dc75a595e9c8a761f645e09c 100644
(file)
--- a/
src/PartSetPlugin/PartSetPlugin_Part.h
+++ b/
src/PartSetPlugin/PartSetPlugin_Part.h
@@
-32,7
+32,10
@@
public:
/// Request for initialization of data model of the feature: adding all attributes
PARTSETPLUGIN_EXPORT virtual void initAttributes();
/// Request for initialization of data model of the feature: adding all attributes
PARTSETPLUGIN_EXPORT virtual void initAttributes();
- PARTSETPLUGIN_EXPORT virtual std::shared_ptr<ModelAPI_Document> documentToAdd();
+ PARTSETPLUGIN_EXPORT virtual boost::shared_ptr<ModelAPI_Document> documentToAdd();
+
+ /// Returns true if this feature must be displayed in the history (top level of Part tree)
+ PARTSETPLUGIN_EXPORT virtual bool isInHistory() {return false;}
/// Use plugin manager for features creation
PartSetPlugin_Part();
/// Use plugin manager for features creation
PartSetPlugin_Part();