X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Plugin.cpp;h=87db42a877e209be75b8d0261aac0777cd56eb00;hb=42d1228f6712393ae59d6c09695bb9c11bdfd1dc;hp=4f5d35f36dc2ec2f95526741b5ad2acab4c56a7d;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp index 4f5d35f36..87db42a87 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -76,6 +77,8 @@ FeaturesPlugin_Plugin::FeaturesPlugin_Plugin() new FeaturesPlugin_ValidatorPipeLocationsNumber); aFactory->registerValidator("FeaturesPlugin_ValidatorExtrusionDir", new FeaturesPlugin_ValidatorExtrusionDir); + aFactory->registerValidator("FeaturesPlugin_ValidatorExtrusionBoundary", + new FeaturesPlugin_ValidatorExtrusionBoundaryFace); aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanSelection", new FeaturesPlugin_ValidatorBooleanSelection); aFactory->registerValidator("FeaturesPlugin_ValidatorPartitionSelection", @@ -133,7 +136,7 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new FeaturesPlugin_BooleanCommon); } else if (theFeatureID == FeaturesPlugin_BooleanSmash::ID()) { return FeaturePtr(new FeaturesPlugin_BooleanSmash); - } else if (theFeatureID == FeaturesPlugin_BooleanFill::ID()) { + } else if (theFeatureID == FeaturesPlugin_BooleanFill::ID() || theFeatureID == "Fill") { return FeaturePtr(new FeaturesPlugin_BooleanFill); } else if (theFeatureID == FeaturesPlugin_Intersection::ID()) { return FeaturePtr(new FeaturesPlugin_Intersection); @@ -171,6 +174,8 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new FeaturesPlugin_Fillet); } else if (theFeatureID == FeaturesPlugin_Measurement::ID()) { return FeaturePtr(new FeaturesPlugin_Measurement); + } else if (theFeatureID == FeaturesPlugin_RemoveResults::ID()) { + return FeaturePtr(new FeaturesPlugin_RemoveResults); } // feature of such kind is not found