From: <fm...@us...> - 2008-08-05 16:36:28
|
Revision: 3272 http://hugin.svn.sourceforge.net/hugin/?rev=3272&view=rev Author: fmannan Date: 2008-08-05 16:36:22 +0000 (Tue, 05 Aug 2008) Log Message: ----------- +minor bugfix Modified Paths: -------------- hugin/branches/gsoc2008_masking/src/hugin1/hugin/PreviewPanel.cpp Modified: hugin/branches/gsoc2008_masking/src/hugin1/hugin/PreviewPanel.cpp =================================================================== --- hugin/branches/gsoc2008_masking/src/hugin1/hugin/PreviewPanel.cpp 2008-08-05 13:18:53 UTC (rev 3271) +++ hugin/branches/gsoc2008_masking/src/hugin1/hugin/PreviewPanel.cpp 2008-08-05 16:36:22 UTC (rev 3272) @@ -291,7 +291,7 @@ vigra::BRGBImage *panoImg8 = new vigra::BRGBImage(panoImgSize); vigra::BImage *alpha = NULL; - if(index != -1 && m_alphas.size() <= index) { + if(index == -1 || m_alphas.size() <= index) { alpha = new vigra::BImage(panoImgSize); m_alphas.push_back(alpha); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |