File browser filter: Exposure Compensation (see issue 1003)
In order to use this new filter with previously browsed thumbnails there are 2 options: Option 1. Global fix: clear cache/data folder Option 2. Local Fix: select thumbs, right click, Cache /Clear from cache - partial reload folder in file browser
This commit is contained in:
@@ -548,6 +548,7 @@ int Thumbnail::infoFromImage (const Glib::ustring& fname, rtengine::RawMetaDataL
|
||||
cfs.fnumber = idata->getFNumber ();
|
||||
cfs.focalLen = idata->getFocalLen ();
|
||||
cfs.iso = idata->getISOSpeed ();
|
||||
cfs.expcomp = idata->expcompToString (idata->getExpComp(), false); // do not mask Zero expcomp
|
||||
cfs.year = 1900 + idata->getDateTime().tm_year;
|
||||
cfs.month = idata->getDateTime().tm_mon + 1;
|
||||
cfs.day = idata->getDateTime().tm_mday;
|
||||
@@ -575,9 +576,9 @@ int Thumbnail::infoFromImage (const Glib::ustring& fname, rtengine::RawMetaDataL
|
||||
}
|
||||
// get image filetype
|
||||
std::string::size_type idx;
|
||||
idx = fname.rfind('.');
|
||||
if(idx != std::string::npos){cfs.filetype = fname.substr(idx+1);}
|
||||
else {cfs.filetype="";}
|
||||
idx = fname.rfind('.');
|
||||
if(idx != std::string::npos){cfs.filetype = fname.substr(idx+1);}
|
||||
else {cfs.filetype="";}
|
||||
|
||||
delete idata;
|
||||
return deg;
|
||||
|
Reference in New Issue
Block a user