X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildPlugin%2FBuildPlugin_Plugin.cpp;h=45d29c9532bb7530229cd9962b9ae37cfbbbdf23;hb=77ce6d35ac8d2f0fdaecb4f23e0870bf74e36103;hp=fbf02dbc4e53f91080f24a03a20a24ec76cd8564;hpb=7318a07336a28c7b95703b15672e4a43df03dabb;p=modules%2Fshaper.git diff --git a/src/BuildPlugin/BuildPlugin_Plugin.cpp b/src/BuildPlugin/BuildPlugin_Plugin.cpp index fbf02dbc4..45d29c953 100644 --- a/src/BuildPlugin/BuildPlugin_Plugin.cpp +++ b/src/BuildPlugin/BuildPlugin_Plugin.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017-20xx CEA/DEN, EDF R&D +// Copyright (C) 2017-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include "BuildPlugin_Plugin.h" @@ -58,6 +57,10 @@ BuildPlugin_Plugin::BuildPlugin_Plugin() new BuildPlugin_ValidatorSubShapesSelection()); aFactory->registerValidator("BuildPlugin_ValidatorFillingSelection", new BuildPlugin_ValidatorFillingSelection()); + aFactory->registerValidator("BuildPlugin_ValidatorBaseForVertex", + new BuildPlugin_ValidatorBaseForVertex()); + aFactory->registerValidator("BuildPlugin_ValidatorExpressionInterpolation", + new BuildPlugin_ValidatorExpressionInterpolation()); // Register this plugin. ModelAPI_Session::get()->registerPlugin(this); @@ -72,10 +75,8 @@ FeaturePtr BuildPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new BuildPlugin_Edge()); } else if(theFeatureID == BuildPlugin_Wire::ID()) { return FeaturePtr(new BuildPlugin_Wire()); - } else if (theFeatureID == BuildPlugin_Wire::ID()) { - return FeaturePtr(new BuildPlugin_Wire()); } else if (theFeatureID == BuildPlugin_Polyline::ID()) { - return FeaturePtr(new BuildPlugin_Polyline()); + return FeaturePtr(new BuildPlugin_Polyline()); } else if (theFeatureID == BuildPlugin_Interpolation::ID()) { return FeaturePtr(new BuildPlugin_Interpolation()); } else if (theFeatureID == BuildPlugin_Face::ID()) {