Bugfix : RT was crashing if Soft-proofing activated w/ "No ICM" output

See issue #3406
This commit is contained in:
Hombre 2016-10-10 23:48:39 +02:00
parent 23011fbd63
commit a989d440b1

View File

@ -90,7 +90,7 @@ void ImProcFunctions::updateColorProfiles (const ColorManagementParams& icm, con
bool softProofCreated = false;
if (softProof) {
cmsHPROFILE oprof;
cmsHPROFILE oprof = nullptr;
if(icm.gamma != "default" || icm.freegamma) { // if select gamma output between BT709, sRGB, linear, low, high, 2.2 , 1.8
GammaValues ga;
iccStore->getGammaArray(icm, ga);