Commit 76de9f0a authored by Marcel Wiesweg's avatar Marcel Wiesweg
Browse files

Fix curve conversion in FREE mode from 16 to 8 bit

BUG: 281095
FIXED-IN: 3.2.0
parent 47b14c86
......@@ -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);
}
}
}
......
Markdown is supported
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