Salome HOME
Issue #20469: crash when creating wire
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 11 Dec 2020 06:14:40 +0000 (09:14 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 11 Dec 2020 06:14:40 +0000 (09:14 +0300)
Fix misprint

src/BuildPlugin/BuildPlugin_Wire.cpp

index e56d0b2d1cb58339e01c5afabf70d3814d9c99e2..c1bf527de0c9762c20c932fadb8c3f258a95bc30 100644 (file)
@@ -409,6 +409,7 @@ bool buildSketchWires(FeaturePtr theSketchFeature, GeomShapePtr theSketchShape,
               break;
             }
           aNewWires.erase(aFoundEnd->second);
+          aMapVW.erase(aFoundStart);
           aMapVW.erase(aFoundEnd);
         }
         continue;