X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeShapeCustom.cpp;h=7e3985d25d6a1a9e200d1c607392382bd1c0d693;hb=d8101383b10bf780a1acf5a356007ad6dbf17711;hp=88576740ef4505881b621a1ce0d93189798130eb;hpb=1b93f1881c5fec599aa79707f93c84dd9c287bc0;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.cpp index 88576740e..7e3985d25 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.cpp @@ -8,13 +8,12 @@ //================================================================================================= GeomAlgoAPI_MakeShapeCustom::GeomAlgoAPI_MakeShapeCustom() -: GeomAlgoAPI_MakeShape() {} //================================================================================================= void GeomAlgoAPI_MakeShapeCustom::setResult(const std::shared_ptr theShape) { - myShape = theShape; + setShape(theShape); } //================================================================================================= @@ -37,12 +36,6 @@ bool GeomAlgoAPI_MakeShapeCustom::addDeleted(const std::shared_ptr GeomAlgoAPI_MakeShapeCustom::shape() const -{ - return myShape; -} - //================================================================================================= void GeomAlgoAPI_MakeShapeCustom::generated(const std::shared_ptr theShape, ListOfShape& theHistory)