From 725abf92f9c2e71909468f0f93c315cac2b93bdd Mon Sep 17 00:00:00 2001 From: isn Date: Tue, 27 Sep 2016 20:19:31 +0300 Subject: [PATCH] reversed meaning of -o option --- src/BRepTest/BRepTest_BasicCommands.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5