Ouputmode is used wrong in mainFrame.cpp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
High
|
Unassigned |
Bug Description
I get:
....src/
742 PanoramaOptions opts = pano.getOptions();
743 switch (opts.outputMode) {
744 case PanoramaOptions
745 case PanoramaOptions
746 case PanoramaOptions
747 opts.outputLDRB
748 break;
749 default:
750 break;
751 }
The outputMode is defined as a enum that will have the values OUTPUT_LDR or ..HDR . (0 or 1).
The TIFF define is too large because it has value 2. It is ment for the FileFormat element of the structure.
I'm not familiar enough (yet) with the code to implement a patch today.
(Just change outputMode to "outputFormat" ?)
-----------
version: Pre-Release 2010.4.
OS: Ubuntu-Lucid.
I'm tagging this "triaged" and "high", because I am pretty sure this is definitively wrong.
I would suggest that someone checks his build. Around 65%, mainFrame.cpp is compiled, and the message appears. Please push to "confirmed" once this has been verified to occur with someone else too.
Changed in hugin: | |
status: | Triaged → Confirmed |
Changed in hugin: | |
status: | Fix Committed → Fix Released |
Oops. Of course I am modifying this file when I notice this. I suspect the line numbers are off a few compared to the vanilla version.