From: isn Date: Tue, 27 Sep 2016 17:19:31 +0000 (+0300) Subject: reversed meaning of -o option X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=725abf92f9c2e71909468f0f93c315cac2b93bdd;p=occt-copy.git reversed meaning of -o option --- diff --git a/src/BRepTest/BRepTest_BasicCommands.cxx b/src/BRepTest/BRepTest_BasicCommands.cxx index fca78e69b7..fff1366e35 100644 --- a/src/BRepTest/BRepTest_BasicCommands.cxx +++ b/src/BRepTest/BRepTest_BasicCommands.cxx @@ -494,14 +494,14 @@ static Standard_Integer gbounding(Draw_Interpretor& di,Standard_Integer n,const if (n != 2 && n != 3) { di << "Usage: gbounding surf/curve/curve2d [-o] \n"; - di << "[-o] turn off Optimal mode ('on' by default) \n"; + di << "[-o] turn on Optimal mode ('off' by default) \n"; return 1; } else { - Standard_Boolean IsOptimal = Standard_True; + Standard_Boolean IsOptimal = Standard_False; if (n == 3 && !strcmp(a[2], "-o")) - IsOptimal = Standard_False; + IsOptimal = Standard_True; Standard_Real axmin,aymin,azmin,axmax,aymax,azmax; Bnd_Box B;