X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_MacroEllipse.cpp;h=ac07fa6642958c047b6e7aad68cb6ec398cbee85;hb=4e0d47fcb8320ae3a7e5169fa121d3b2e37db7ac;hp=37ea7aa31462cd88932a8b1d50a7e9eb7783b8e3;hpb=08f1aef6629e6a63cc4671d271ded4de6e826948;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp b/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp index 37ea7aa31..ac07fa664 100644 --- a/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp +++ b/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp @@ -193,14 +193,14 @@ std::string SketchPlugin_MacroEllipse::processEvent( void SketchPlugin_MacroEllipse::constraintsForEllipse(FeaturePtr theEllipseFeature) { // Create constraints. - SketchPlugin_Tools::createConstraint( + SketchPlugin_Tools::createCoincidenceOrTangency( this, CENTER_POINT_REF_ID(), theEllipseFeature->attribute(SketchPlugin_Ellipse::CENTER_ID()), ObjectPtr(), false); - SketchPlugin_Tools::createConstraint( + SketchPlugin_Tools::createCoincidenceOrTangency( this, MAJOR_AXIS_POINT_REF_ID(), AttributePtr(), theEllipseFeature->lastResult(), true); - SketchPlugin_Tools::createConstraint( + SketchPlugin_Tools::createCoincidenceOrTangency( this, PASSED_POINT_REF_ID(), AttributePtr(), theEllipseFeature->lastResult(), true); }