From: <da...@us...> - 2008-01-17 06:21:38
|
Revision: 2659 http://hugin.svn.sourceforge.net/hugin/?rev=2659&view=rev Author: dangelo Date: 2008-01-16 22:21:35 -0800 (Wed, 16 Jan 2008) Log Message: ----------- bugfix: nona always set compression=NONE Modified Paths: -------------- hugin/trunk/src/tools/nona.cpp Modified: hugin/trunk/src/tools/nona.cpp =================================================================== --- hugin/trunk/src/tools/nona.cpp 2008-01-16 22:27:20 UTC (rev 2658) +++ hugin/trunk/src/tools/nona.cpp 2008-01-17 06:21:35 UTC (rev 2659) @@ -115,7 +115,7 @@ string basename; string outputFormat; bool overrideOutputMode = false; - std::string compression("NONE"); + std::string compression; PanoramaOptions::OutputMode outputMode = PanoramaOptions::OUTPUT_LDR; bool overrideExposure = false; double exposure=0; @@ -220,7 +220,9 @@ } PanoramaOptions opts = pano.getOptions(); - opts.tiffCompression=compression; + if (compression.size() > 0) { + opts.tiffCompression=compression; + } // save coordinate images, if requested opts.saveCoordImgs = doCoord; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |