]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Renaming Fill in Split : Read old HDF
authorClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 14 Mar 2019 10:17:31 +0000 (11:17 +0100)
committerClarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 <cg246364@is231796.intra.cea.fr>
Thu, 14 Mar 2019 10:17:31 +0000 (11:17 +0100)
src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp
src/FeaturesPlugin/plugin-Features.xml

index 4f5d35f36dc2ec2f95526741b5ad2acab4c56a7d..625381a19c89f2613becbf82e0b99595b1bdf9c4 100644 (file)
@@ -133,7 +133,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);
index c31b2795b70a179eb83fa900e276b7a363bcd5f1..eb72aa4e43b4d51d7918277ab4f21d418e69671a 100644 (file)
                auto_preview="false">
           <source path="boolean_split_widget.xml"/>
       </feature>
+      <feature id="Fill" title="Split" tooltip="Perform boolean split operation with objects"
+               icon="icons/Features/bool_split.png" helpfile="splitFeature.html"
+               auto_preview="false" internal="1">
+          <source path="boolean_split_widget.xml"/>
+      </feature>
       <feature id="Union" title="Union" tooltip="Perform union operations with shapes"
                icon="icons/Features/union.png" helpfile="unionFeature.html">
           <source path="union_widget.xml"/>