Some adjustements to limits color correction grid

This commit is contained in:
Desmis
2019-08-25 08:07:17 +02:00
parent 78abb04592
commit 669e7a2ae8

View File

@@ -9231,7 +9231,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
}
if (ctoning && bfw > 10 && bfh > 10) {
if (ctoning && bfw >= 6 && bfh >= 6) {
if (lp.gridmet == 0) {
bufcolcalca += bufcolcalcL * a_scale + a_base;
bufcolcalcb += bufcolcalcL * b_scale + b_base;
@@ -9275,7 +9275,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
bool execut = true;
if (ctoning && (bfw < 10 || bfh < 10)){
if (ctoning && (bfw < 6 || bfh < 6)){
execut = false;
}