Rawtherapee 5.6 crashes with.dng from PixelShift2DNG-0.9.8.67, fixes #5348

This commit is contained in:
heckflosse
2019-06-07 16:37:59 +02:00
parent d1e6c57885
commit 3b19b9f55b
2 changed files with 2 additions and 2 deletions

View File

@@ -714,7 +714,7 @@ Thumbnail* Thumbnail::loadFromRaw (const Glib::ustring& fname, RawMetaDataLocati
int wmax = tmpw;
int hmax = tmph;
if (ri->get_maker() == "Sigma" && ri->DNGVERSION()) { // Hack to prevent sigma dng files from crashing
if ((ri->get_maker() == "Sigma" || ri->get_maker() == "Pentax" || ri->get_maker() == "Sony") && ri->DNGVERSION()) { // Hack to prevent sigma dng files from crashing
wmax = (width - 2 - left_margin) / hskip;
hmax = (height - 2 - top_margin) / vskip;
}