Ticket #14413: patch-src-hugin_base-algorithms-panorama_makefile-PanoramaMakefileExport.cpp

File patch-src-hugin_base-algorithms-panorama_makefile-PanoramaMakefileExport.cpp, 1011 bytes (added by peter@…, 17 years ago)

Patch that works around an error when using enblend 3.0 from Macports

Line 
1Index: src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp
2===================================================================
3--- src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp      (revision 2903)
4+++ src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp      (working copy)
5@@ -196,15 +196,15 @@
6     o << endl;
7 
8     o << "ENBLEND_LDR_COMP=";
9-    if (opts.outputImageTypeCompression.size() != 0) {
10-        o << "--compression " << opts.outputImageTypeCompression;
11-    }
12+//    if (opts.outputImageTypeCompression.size() != 0) {
13+//        o << "--compression " << opts.outputImageTypeCompression;
14+//    }
15     o << endl;
16 
17     o << "ENBLEND_HDR_COMP=";
18-    if (opts.outputImageTypeHDRCompression.size() != 0) {
19-        o << "--compression " << opts.outputImageTypeHDRCompression;
20-    }
21+//    if (opts.outputImageTypeHDRCompression.size() != 0) {
22+//        o << "--compression " << opts.outputImageTypeHDRCompression;
23+//    }
24     o << endl;
25 
26