Salome HOME
Issue #3222: 1d fillet
[modules/shaper.git] / src / BuildPlugin / BuildPlugin_Wire.cpp
index 124a03abb68051ccad3c3d8ee105f8d2609af01e..f3d48bd8b4daeaf12131ee702fa40b4256bf9a92 100644 (file)
@@ -122,7 +122,10 @@ void BuildPlugin_Wire::execute()
       for (ListOfShape::const_iterator anIt = anEdges.cbegin(); anIt != anEdges.cend(); ++anIt) {
         std::shared_ptr<GeomAPI_Edge> anEdgeInList(new GeomAPI_Edge(*anIt));
         if (anEdgeInList->isEqual(anEdgeInResult)) {
-          aResultBody->modified(anEdgeInList, anEdgeInResult);
+          if (anEdgeInList->isSame(anEdgeInResult))
+            aResultBody->generated(anEdgeInResult, "Edge");
+          else
+            aResultBody->modified(anEdgeInList, anEdgeInResult);
           break;
         }
       }