mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
reversed meaning of -o option
This commit is contained in:
@@ -494,14 +494,14 @@ static Standard_Integer gbounding(Draw_Interpretor& di,Standard_Integer n,const
|
|||||||
if (n != 2 && n != 3)
|
if (n != 2 && n != 3)
|
||||||
{
|
{
|
||||||
di << "Usage: gbounding surf/curve/curve2d [-o] \n";
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Standard_Boolean IsOptimal = Standard_True;
|
Standard_Boolean IsOptimal = Standard_False;
|
||||||
if (n == 3 && !strcmp(a[2], "-o"))
|
if (n == 3 && !strcmp(a[2], "-o"))
|
||||||
IsOptimal = Standard_False;
|
IsOptimal = Standard_True;
|
||||||
|
|
||||||
Standard_Real axmin,aymin,azmin,axmax,aymax,azmax;
|
Standard_Real axmin,aymin,azmin,axmax,aymax,azmax;
|
||||||
Bnd_Box B;
|
Bnd_Box B;
|
||||||
|
Reference in New Issue
Block a user