X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintEqual.cpp;h=efd034fea2ce18faa18d74b64d1790ef13b68e69;hb=51889d235a27d0ee4b3c3237d21d1ea621063580;hp=00531acde1a652ade39dec6a05ea0489dfcc361b;hpb=84c85d67943a16b0cbf90127bf117beb8cc5f4d6;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp b/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp index 00531acde..efd034fea 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp @@ -37,7 +37,9 @@ AISObjectPtr SketchPlugin_ConstraintEqual::getAISObject(AISObjectPtr thePrevious return thePrevious; AISObjectPtr anAIS = thePrevious; - /// TODO: Equal constraint presentation should be put here + if (!anAIS) { + anAIS = SketcherPrs_Factory::equalConstraint(this, sketch()->coordinatePlane()); + } return anAIS; }