This is probably not the cause, but in the following block of code (src
\hugin1\hugin\TextureManager.cpp, lines 110-118 with current SVN), the
"count" variable is never updated and will always remain 0. This will
only cause trouble when the scale array contains really large numbers
(scale is computed in lines 90-94).

            // double the brightness for colour components until it is
almost
            // right, however limit it incase it is really bright.
            bool r, g, b;
            unsigned short int count = 0;
            while ((   (r = (scale[0] > 2.0))
                   || (g = (scale[1] > 2.0))
                   || (b = (scale[2] > 2.0)))
                   && count < 9)
            {
                   ...
            }

A simple "count++;" within the inner block will solve this issue.

Note that I'm not actively bug hunting, this is just something I came
along (no time for even compiling Hugin at the moment, sorry).

Best,
Bart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to