]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp
Salome HOME
Add tools
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintFillet.cpp
index 6cf6da8f669062a579482109de07df6828394d46..a9f00c9f48b58520803e6a7b11f23c71869d9a60 100644 (file)
@@ -316,6 +316,9 @@ void SketchPlugin_ConstraintFillet::execute()
     myBaseObjects.clear();
     myBaseObjects.push_back(aFeatureA);
     myBaseObjects.push_back(aFeatureB);
+    // exchange the naming IDs of newly created and old line that become auxiliary
+    sketch()->exchangeIDs(aFeatureA, aNewFeatureA);
+    sketch()->exchangeIDs(aFeatureB, aNewFeatureB);
   } else {
     // Update radius value
     int aNbSubs = sketch()->numberOfSubs();