]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
Salome HOME
Horisontal and vertical constraints added
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintVertical.cpp
index ecfc9177612f6f941b1ad4a98e219fea06a42c82..bb824715ad5b91f22e6b7ac696cbdfbafd725f2c 100644 (file)
@@ -36,7 +36,9 @@ AISObjectPtr SketchPlugin_ConstraintVertical::getAISObject(AISObjectPtr thePrevi
     return thePrevious;
 
   AISObjectPtr anAIS = thePrevious;
-  /// TODO: Horizontal constraint presentation should be put here
+  if (!anAIS) {
+    anAIS = SketcherPrs_Factory::verticalConstraint(this, sketch()->coordinatePlane());
+  }
   return anAIS;
 }