From: <tm...@us...> - 2009-10-12 05:36:17
|
Revision: 4614 http://hugin.svn.sourceforge.net/hugin/?rev=4614&view=rev Author: tmodes Date: 2009-10-12 05:36:04 +0000 (Mon, 12 Oct 2009) Log Message: ----------- Fixes small rounding error in EXIF display Modified Paths: -------------- hugin/trunk/src/hugin1/hugin/ImagesPanel.cpp Modified: hugin/trunk/src/hugin1/hugin/ImagesPanel.cpp =================================================================== --- hugin/trunk/src/hugin1/hugin/ImagesPanel.cpp 2009-10-12 05:35:27 UTC (rev 4613) +++ hugin/trunk/src/hugin1/hugin/ImagesPanel.cpp 2009-10-12 05:36:04 UTC (rev 4614) @@ -597,7 +597,7 @@ else s=wxString::Format(wxT("%1.2f s"),img.getExifExposureTime()); else { - if (img.getExifExposureTime() > 0) { + if (img.getExifExposureTime() > 1e-9) { s=wxString::Format(wxT("1/%0.0f s"),1.0/img.getExifExposureTime()); } else { //Sanity This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |