Commit 4a4f704e authored by Boudewijn Rempt's avatar Boudewijn Rempt Committed by Wolthera van Hövell

Fix drawing the gradient

parent 13f83919
......@@ -500,11 +500,11 @@ void KoGradientSegment::RGBColorInterpolationStrategy::colorAt(KoColor& dst, qre
const KoColorSpace* mixSpace = KoColorSpaceRegistry::instance()->rgb8(dst.colorSpace()->profile());
//convert to the right colorspace for the start and end if we have our mixSpace.
if (mixSpace){
startDummy = KoColor(start, mixSpace);
endDummy = KoColor(end, mixSpace);
startDummy = KoColor(_start, mixSpace);
endDummy = KoColor(_end, mixSpace);
} else {
startDummy = start;
endDummy = end;
startDummy = _start;
endDummy = _end;
}
start.fromKoColor(_start);
......
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