Commit 2b099bef authored by Mathias Wein's avatar Mathias Wein

Fix loading of reference image settings

There was a typo that loaded saturation from stored opacity.
parent cb4306bf
......@@ -309,7 +309,7 @@ KisReferenceImage * KisReferenceImage::fromXml(const QDomElement &elem)
qreal opacity = KisDomUtils::toDouble(elem.attribute("opacity", "1"));
reference->setTransparency(1.0 - opacity);
qreal saturation = KisDomUtils::toDouble(elem.attribute("opacity", "1"));
qreal saturation = KisDomUtils::toDouble(elem.attribute("saturation", "1"));
return reference;
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