Merged dev into locallab_dev

This commit is contained in:
heckflosse
2017-03-26 00:49:44 +01:00
62 changed files with 3133 additions and 2051 deletions

View File

@@ -550,9 +550,9 @@ Thumbnail* Thumbnail::loadFromRaw (const Glib::ustring& fname, RawMetaDataLocati
if (ri->get_FujiWidth() != 0) {
tpp->scale = (double) (height - ri->get_FujiWidth()) / sqrt(0.5) / h;
tpp->scale = (double) (height - ri->get_FujiWidth()) * 2.0 / (rotate_90 ? w : h);
} else {
tpp->scale = (double) height / h;
tpp->scale = (double) height / (rotate_90 ? w : h);
}
// generate histogram for auto exposure