]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Debug of the external ellipse center selection.
authormpv <mpv@opencascade.com>
Thu, 27 Apr 2017 14:33:56 +0000 (17:33 +0300)
committermpv <mpv@opencascade.com>
Thu, 27 Apr 2017 14:33:56 +0000 (17:33 +0300)
src/Model/Model_AttributeSelection.cpp

index 0ffaf4fea0ea6eb5e6bcdf207b33aa511c39ed14..2ec5c283f4da09ac184f2db6753b487c0a1a074e 100644 (file)
@@ -238,9 +238,9 @@ std::shared_ptr<GeomAPI_Shape> 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()) {