X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPrimitivesPlugin%2FPrimitivesPlugin_Cylinder.cpp;h=83fbb8e88160cce85e5b5bc5969d6c6cced410d1;hb=89682548b15252e424ffb9c1996cbeea1093b327;hp=63236482bb97af00fc59b730ffed008dc4997eb4;hpb=5f2b8e1caecd7b637e35ad001344539bd0c09906;p=modules%2Fshaper.git diff --git a/src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.cpp b/src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.cpp index 63236482b..83fbb8e88 100644 --- a/src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.cpp +++ b/src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.cpp @@ -136,7 +136,7 @@ void PrimitivesPlugin_Cylinder::createCylinder(bool withAngle) // These checks should be made to the GUI for the feature but // the corresponding validator does not exist yet. if (!aCylinderAlgo->check()) { - setError(aCylinderAlgo->getError(), false); + setError(aCylinderAlgo->getError()); return; } @@ -146,12 +146,12 @@ void PrimitivesPlugin_Cylinder::createCylinder(bool withAngle) // Check if the creation of the cylinder if(!aCylinderAlgo->isDone()) { // The error is not displayed in a popup window. It must be in the message console. - setError(aCylinderAlgo->getError(), false); + setError(aCylinderAlgo->getError()); return; } if(!aCylinderAlgo->checkValid("Cylinder builder")) { // The error is not displayed in a popup window. It must be in the message console. - setError(aCylinderAlgo->getError(), false); + setError(aCylinderAlgo->getError()); return; }