From: kgv Date: Tue, 17 Jun 2014 15:43:54 +0000 (+0400) Subject: 0025018: Draw Harness - misprint in argument "-settransparancy" for command vaspects X-Git-Tag: V6_8_0_beta~258 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=0ae61cf3b3b9dea6aa7318a18eac428e6539e930;p=occt-copy.git 0025018: Draw Harness - misprint in argument "-settransparancy" for command vaspects --- diff --git a/src/ViewerTest/ViewerTest.cxx b/src/ViewerTest/ViewerTest.cxx index bf9991c636..5fed471522 100644 --- a/src/ViewerTest/ViewerTest.cxx +++ b/src/ViewerTest/ViewerTest.cxx @@ -1623,7 +1623,7 @@ static Standard_Integer VAspects (Draw_Interpretor& /*theDI*/, aChangeSet->LineWidth = 1.0; } else if (anArg == "-settransp" - || anArg == "-settransparancy") + || anArg == "-settransparency") { if (++anArgIter >= theArgNb) { @@ -1663,7 +1663,7 @@ static Standard_Integer VAspects (Draw_Interpretor& /*theDI*/, } } else if (anArg == "-unsettransp" - || anArg == "-unsettransparancy" + || anArg == "-unsettransparency" || anArg == "-unsetalpha" || anArg == "-opaque") { @@ -4311,7 +4311,7 @@ void ViewerTest::Commands(Draw_Interpretor& theCommands) "vaspects [-noupdate|-update] [name1 [name2 [...]]]" "\n\t\t: [-setcolor ColorName] [-unsetcolor]" "\n\t\t: [-setmaterial MatName] [-unsetmaterial]" - "\n\t\t: [-settransparency Transp] [-unsettransparancy]" + "\n\t\t: [-settransparency Transp] [-unsettransparency]" "\n\t\t: [-setwidth LineWidth] [-unsetwidth]" "\n\t\t: [-subshapes subname1 [subname2 [...]]]" "\n\t\t: Manage presentation properties of all, selected or named objects."