Salome HOME
Meet the coding style (line length <= 100)
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Plugin.cpp
index 774a961b949d681d67a3d8bebae251e35f6a53b2..e6451367d112de681be2f3ffa3f218237bc7830b 100644 (file)
@@ -53,7 +53,7 @@
 #define SKETCH_EXTERNAL_COLOR "170,0,225"
 #define SKETCH_AUXILIARY_COLOR "0,85,0"
 #define SKETCH_OVERCONSTRAINT_COLOR "0,0,0"
-#define SKETCH_FULLY_CONSTRAINED_COLOR "150,150,150"
+#define SKETCH_FULLY_CONSTRAINED_COLOR "0,150,0"
 
 //#define SET_PLANES_COLOR_IN_PREFERENCES
 
@@ -98,6 +98,8 @@ SketchPlugin_Plugin::SketchPlugin_Plugin()
                               new SketchPlugin_ProjectionValidator);
   aFactory->registerValidator("SketchPlugin_DifferentReference",
                               new SketchPlugin_DifferentReferenceValidator);
+  aFactory->registerValidator("SketchPlugin_DifferentPointReference",
+                              new SketchPlugin_DifferentPointReferenceValidator);
   aFactory->registerValidator("SketchPlugin_CirclePassedPointValidator",
                               new SketchPlugin_CirclePassedPointValidator);
   aFactory->registerValidator("SketchPlugin_ThirdPointValidator",
@@ -106,6 +108,7 @@ SketchPlugin_Plugin::SketchPlugin_Plugin()
                               new SketchPlugin_ArcEndPointValidator);
   aFactory->registerValidator("SketchPlugin_ArcEndPointIntersectionValidator",
                               new SketchPlugin_ArcEndPointIntersectionValidator);
+  aFactory->registerValidator("SketchPlugin_HasNoConstraint", new SketchPlugin_HasNoConstraint);
 
   // register this plugin
   ModelAPI_Session::get()->registerPlugin(this);