From: <doc...@us...> - 2007-09-14 18:57:59
|
Revision: 172 http://openpcl.svn.sourceforge.net/openpcl/?rev=172&view=rev Author: documentsystems Date: 2007-09-14 11:58:01 -0700 (Fri, 14 Sep 2007) Log Message: ----------- Fixed bug in PosStartupOptions to pass false in PriDebug.setBlueAndGreenRaster() if the startup command line string has "N" for -ShowDebugRasterColors=N and true if there is only -ShowDebugRasterColors without the =Y or =N. Before, PriDebug.setBlueAndGreenRaster() was passing true for both "Y" and "N" and blank. Modified Paths: -------------- openpcl/src/com/openpcl/viewer/options/PosStartupOptions.java Modified: openpcl/src/com/openpcl/viewer/options/PosStartupOptions.java =================================================================== --- openpcl/src/com/openpcl/viewer/options/PosStartupOptions.java 2007-09-14 04:34:18 UTC (rev 171) +++ openpcl/src/com/openpcl/viewer/options/PosStartupOptions.java 2007-09-14 18:58:01 UTC (rev 172) @@ -287,10 +287,10 @@ mModeToRun = sModeToRunEmbedded; } else if (commandLineArg.startsWith("-showdebugrastercolors")) { mShowDebugRasterColors = argTrueFalse; - PriDebug.setBlueAndGreenRaster(true); + PriDebug.setBlueAndGreenRaster(mShowDebugRasterColors); } else if (commandLineArg.startsWith("-writedebuglog")) { - mWriteDebugLog = true; - PriDebug.setDebugVersion(); + mWriteDebugLog = argTrueFalse; + if (mWriteDebugLog) { PriDebug.setDebugVersion(); } // Strings This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |