Commit 9d109067 authored by Marcel Wiesweg's avatar Marcel Wiesweg Committed by Veaceslav Munteanu
Browse files

Fix curve conversion in FREE mode from 16 to 8 bit

BUG: 281095
FIXED-IN: 3.2.0
parent c33440a7
......@@ -293,7 +293,7 @@ void ImageCurves::fillFromOtherCurves(ImageCurves* const otherCurves)
for (int i = 0 ; i <= d->segmentMax ; ++i)
{
setCurveValue(channel, i / MULTIPLIER_16BIT, otherCurves->getCurveValue(channel, i) / MULTIPLIER_16BIT);
setCurveValue(channel, i, otherCurves->getCurveValue(channel, i * MULTIPLIER_16BIT) / MULTIPLIER_16BIT);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment