X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintMiddle.cpp;h=31fc3f1da64ecc9fa2b6868648aa003dea155051;hb=8f060aedd5949990421a96e3b4086f43efa13d24;hp=7112d440101f6283295d6e73372595b221e69949;hpb=cd6bf982e7dc443e050e4d93b4954951daebcf15;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp index 7112d4401..31fc3f1da 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp @@ -6,6 +6,8 @@ #include "SketchPlugin_ConstraintMiddle.h" +#include "SketcherPrs_Factory.h" + SketchPlugin_ConstraintMiddle::SketchPlugin_ConstraintMiddle() { } @@ -25,10 +27,8 @@ AISObjectPtr SketchPlugin_ConstraintMiddle::getAISObject(AISObjectPtr thePreviou if (!sketch()) return thePrevious; - AISObjectPtr anAIS; - // TODO - //AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane(), - // thePrevious); + AISObjectPtr anAIS = SketcherPrs_Factory::middleConstraint(this, sketch()->coordinatePlane(), + thePrevious); return anAIS; }