X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintMiddle.cpp;h=7112d440101f6283295d6e73372595b221e69949;hb=8476d5e088f7b1b5a414fa5e33ce99d6131929eb;hp=76e8509cbc012e72a79c645c2f9d9601207b0770;hpb=885c1ee9f65b269e3ce6f768793c2808dd4f8a69;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp index 76e8509cb..7112d4401 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp @@ -25,11 +25,10 @@ AISObjectPtr SketchPlugin_ConstraintMiddle::getAISObject(AISObjectPtr thePreviou if (!sketch()) return thePrevious; - AISObjectPtr anAIS = thePrevious; - if (!anAIS) { - // TODO - //anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane()); - } + AISObjectPtr anAIS; + // TODO + //AISObjectPtr anAIS = SketcherPrs_Factory::collinearConstraint(this, sketch()->coordinatePlane(), + // thePrevious); return anAIS; }