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
Create Extrusion property panel.
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
ConstructionPlugin_Plugin.cpp
diff --git
a/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
b/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
index 5c1f39f2f8de2dfc5bc87f1df52371d2fbb9dff3..a825c5608e0a96cc95a2a453623bc65088706c6e 100644
(file)
--- a/
src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
+++ b/
src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
@@
-1,5
+1,7
@@
#include "ConstructionPlugin_Plugin.h"
#include "ConstructionPlugin_Point.h"
#include "ConstructionPlugin_Plugin.h"
#include "ConstructionPlugin_Point.h"
+#include "ConstructionPlugin_Extrusion.h"
+
#include <ModelAPI_PluginManager.h>
#include <ModelAPI_Document.h>
#include <ModelAPI_PluginManager.h>
#include <ModelAPI_Document.h>
@@
-18,6
+20,8
@@
boost::shared_ptr<ModelAPI_Feature> ConstructionPlugin_Plugin::createFeature(str
{
if (theFeatureID == "Point") {
return boost::shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Point);
{
if (theFeatureID == "Point") {
return boost::shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Point);
+ } else if (theFeatureID == "Extrusion") {
+ return boost::shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Extrusion);
}
// feature of such kind is not found
return boost::shared_ptr<ModelAPI_Feature>();
}
// feature of such kind is not found
return boost::shared_ptr<ModelAPI_Feature>();