From: <tm...@us...> - 2010-01-11 06:36:40
|
Revision: 4869 http://hugin.svn.sourceforge.net/hugin/?rev=4869&view=rev Author: tmodes Date: 2010-01-11 06:36:34 +0000 (Mon, 11 Jan 2010) Log Message: ----------- Fixes false optimizer settings Modified Paths: -------------- hugin/trunk/src/hugin_base/algorithms/optimizer/PTOptimizer.cpp Modified: hugin/trunk/src/hugin_base/algorithms/optimizer/PTOptimizer.cpp =================================================================== --- hugin/trunk/src/hugin_base/algorithms/optimizer/PTOptimizer.cpp 2010-01-11 06:35:00 UTC (rev 4868) +++ hugin/trunk/src/hugin_base/algorithms/optimizer/PTOptimizer.cpp 2010-01-11 06:36:34 UTC (rev 4869) @@ -291,9 +291,9 @@ std::set<std::string> imgopt; // do not optimize anchor image's stack for position. const SrcPanoImage & iImage = optPano.getImage(i); - if (iImage.RollisLinkedWith(anchorImage) && - iImage.PitchisLinkedWith(anchorImage) && - iImage.YawisLinkedWith(anchorImage)) + if (!iImage.RollisLinkedWith(anchorImage) && + !iImage.PitchisLinkedWith(anchorImage) && + !iImage.YawisLinkedWith(anchorImage)) { if (mode & OPT_POS) { imgopt.insert("r"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |