From: mpv Date: Thu, 27 Apr 2017 14:33:56 +0000 (+0300) Subject: Debug of the external ellipse center selection. X-Git-Tag: V_2.7.1.1~3^2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62dfa6f4f253701f32f55eb4d1852ceffce0fafb;p=modules%2Fshaper.git Debug of the external ellipse center selection. --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 0ffaf4fea..2ec5c283f 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -238,9 +238,9 @@ std::shared_ptr Model_AttributeSelection::value() if (aSelLab.IsAttribute(kCIRCLE_CENTER)) aType = CIRCLE_CENTER; else if (aSelLab.IsAttribute(kELLIPSE_CENTER1)) - aType = CIRCLE_CENTER; + aType = ELLIPSE_FIRST_FOCUS; else if (aSelLab.IsAttribute(kELLIPSE_CENTER2)) - aType = CIRCLE_CENTER; + aType = ELLIPSE_SECOND_FOCUS; if (myRef.isInitialized()) {