Salome HOME
Synchronize "make test" with "salome test"
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plugin.cpp
index bc369e6edd538353d587569c0625a2d57ade8664..69e900fdc50dbc1a1ad715ed14da817521634c8b 100644 (file)
@@ -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
@@ -53,6 +53,8 @@ ConstructionPlugin_Plugin::ConstructionPlugin_Plugin()
                               new ConstructionPlugin_ValidatorAxisTwoNotParallelPlanes());
   aFactory->registerValidator("ConstructionPlugin_ValidatorPointThreeNonParallelPlanes",
                               new ConstructionPlugin_ValidatorPointThreeNonParallelPlanes());
+  aFactory->registerValidator("ConstructionPlugin_ValidatorNotFeature",
+                              new ConstructionPlugin_ValidatorNotFeature());
 
   Config_PropManager::registerProp(SKETCH_TAB_NAME, "planes_size", "Size", Config_Prop::DblSpin,
                                    PLANE_SIZE, "0", "1000");
@@ -67,7 +69,7 @@ ConstructionPlugin_Plugin::ConstructionPlugin_Plugin()
   Config_PropManager::registerProp(SKETCH_TAB_NAME, "operation_cursor",
     "Cursor for Sketch operation", Config_Prop::Cursor, "0");
   Config_PropManager::registerProp(SKETCH_TAB_NAME, "create_by_dragging",
-    "Create sketch enities by dragging", Config_Prop::Boolean, "false");
+    "Create sketch entities by dragging", Config_Prop::Boolean, "false");
 
   // register this plugin
   ModelAPI_Session::get()->registerPlugin(this);