Salome HOME
add new shape creation from groups
[modules/shaper.git] / src / CollectionPlugin / CollectionPlugin_Plugin.cpp
index c1da4073945d47311911dcdd56d5d960e47d13fb..aea358c62c5198b552fcd82c3d44bf8dcf6eb169 100644 (file)
@@ -23,6 +23,7 @@
 #include <CollectionPlugin_GroupAddition.h>
 #include <CollectionPlugin_GroupIntersection.h>
 #include <CollectionPlugin_GroupSubstraction.h>
+#include <CollectionPlugin_GroupShape.h>
 #include <CollectionPlugin_Field.h>
 #include <CollectionPlugin_Validators.h>
 #include <ModelAPI_Session.h>
@@ -67,7 +68,9 @@ FeaturePtr CollectionPlugin_Plugin::createFeature(std::string theFeatureID)
     return FeaturePtr(new CollectionPlugin_GroupIntersection);
   } else if (theFeatureID == CollectionPlugin_GroupSubstraction::ID()) {
     return FeaturePtr(new CollectionPlugin_GroupSubstraction);
-  }
+  } else if (theFeatureID == CollectionPlugin_GroupShape::ID()) {
+     return FeaturePtr(new CollectionPlugin_GroupShape);
+   }
 
   // feature of such kind is not found
   return FeaturePtr();