From: <tm...@us...> - 2010-01-05 06:42:52
|
Revision: 4851 http://hugin.svn.sourceforge.net/hugin/?rev=4851&view=rev Author: tmodes Date: 2010-01-05 06:42:40 +0000 (Tue, 05 Jan 2010) Log Message: ----------- Correctly link images in subset of panorama (fixes a optimization bug) Modified Paths: -------------- hugin/trunk/src/hugin_base/panodata/Panorama.cpp Modified: hugin/trunk/src/hugin_base/panodata/Panorama.cpp =================================================================== --- hugin/trunk/src/hugin_base/panodata/Panorama.cpp 2010-01-05 06:36:31 UTC (rev 4850) +++ hugin/trunk/src/hugin_base/panodata/Panorama.cpp 2010-01-05 06:42:40 UTC (rev 4851) @@ -1193,7 +1193,7 @@ ic = 0; for (UIntSet::const_iterator i = imgs.begin(); i != imgs.end(); ++i) { - unsigned int jc = 0; + unsigned int jc = ic + 1; UIntSet::const_iterator j = i; for (++j; j != imgs.end(); ++j) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |