X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_Plugin.cpp;h=473631f4851ae086eb2f715d2adf45300d5723b6;hb=4e318f7539c90724e703e14e4999e35d7c2941bc;hp=ff4e2157803136dff18487f1ce34fd8159612b83;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_Plugin.cpp b/src/GeomValidators/GeomValidators_Plugin.cpp index ff4e21578..473631f48 100644 --- a/src/GeomValidators/GeomValidators_Plugin.cpp +++ b/src/GeomValidators/GeomValidators_Plugin.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -60,9 +61,10 @@ GeomValidators_Plugin::GeomValidators_Plugin() aFactory->registerValidator("GeomValidators_Intersected", new GeomValidators_Intersected); aFactory->registerValidator("GeomValidators_NotSelfIntersected", new GeomValidators_NotSelfIntersected); + aFactory->registerValidator("GeomValidators_GlobalSelection", new GeomValidators_GlobalSelection); - // register this plugin - ModelAPI_Session::get()->registerPlugin(this); + // Do not register this plugin because it doesn't create features + //ModelAPI_Session::get()->registerPlugin(this); } FeaturePtr GeomValidators_Plugin::createFeature(std::string theFeatureID)