Fixes crash in ipwavelet, improve behavior mask when one spot with many tools and mask (#6478)
This commit is contained in:
@@ -209,7 +209,7 @@ std::unique_ptr<LUTf> ImProcFunctions::buildMeaLut(const float inVals[11], const
|
||||
}
|
||||
}
|
||||
}
|
||||
lutFactor = 1.f / lutDiff;
|
||||
lutFactor = lutDiff == 0.f ? 0.f : 1.f / lutDiff;
|
||||
return std::unique_ptr<LUTf>(new LUTf(lutVals));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user