>> I've managed to compile the project
>>
>
> on what system?
>
I'm using windows with msvc 2008 express to compile.
>> I read the other thread with some ideas for patches, and implemented
>> one of them, now where should I sent it?
>>
>
> email it here as an attachment, please.
>
Attached a fix for bug 2166837 "nona opens unused files for no apparent
reason". Since this is very small I'll make another one to demonstrate
my skills better.
Thijs
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Index: hugin_base/nona/Stitcher.cpp
===================================================================
--- hugin_base/nona/Stitcher.cpp (revision 3767)
+++ hugin_base/nona/Stitcher.cpp (working copy)
@@ -156,7 +156,8 @@
//bool color = (bands == 3 || bands == 4 && extraBands == 1);
// check if all other images have the same type
- for (imgNr = 1 ; imgNr < pano.getNrOfImages(); imgNr++) {
+ for (UIntSet::const_iterator it = usedImgs.begin(); it != usedImgs.end();
++it) {
+ imgNr = *it;
vigra::ImageImportInfo
info2(pano.getImage(imgNr).getFilename().c_str());
if ( pixelType != info2.getPixelType() ) {
UTILS_THROW(std::runtime_error, "image " <<
pano.getImage(imgNr).getFilename()