]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix misprint in SketchBuilder
authorazv <azv@opencascade.com>
Wed, 27 Feb 2019 13:31:55 +0000 (16:31 +0300)
committerazv <azv@opencascade.com>
Wed, 27 Feb 2019 13:33:52 +0000 (16:33 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp

index cd4db1dad6e388b6bc7fe89ee2b85f5f25909098..c193b3a8315d4c50cd708f8a903eb4fb05438c53 100644 (file)
@@ -300,7 +300,7 @@ void GeomAlgoAPI_SketchBuilder::build(
     // store face
     aBuilder.Add(aResult, aNewFace);
     std::shared_ptr<GeomAPI_Shape> aResFace(new GeomAPI_Shape);
-    aResFace->setImpl(new TopoDS_Face(aFace));
+    aResFace->setImpl(new TopoDS_Face(aNewFace));
     myResultFaces.push_back(aResFace);
   }