X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_ConstraintMiddle.cpp;h=620b0691ab8533023c7a11127cf1a8d7fcc8ec27;hb=ab07e66b9ed5d4e520f56bbe8a3e44312b05a89b;hp=06d01f8edc09ae904e49d0d35ccc547c30d1e588;hpb=75e130f1c5c99bface65d619c0b285d81191f9bf;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp index 06d01f8ed..620b0691a 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp @@ -41,7 +41,8 @@ AISObjectPtr SketchPlugin_ConstraintMiddle::getAISObject(AISObjectPtr thePreviou if (!sketch()) return thePrevious; - AISObjectPtr anAIS = SketcherPrs_Factory::middleConstraint(this, sketch()->coordinatePlane(), + AISObjectPtr anAIS = SketcherPrs_Factory::middleConstraint(this, sketch(), + sketch()->coordinatePlane(), thePrevious); return anAIS; }