Commit ec43d9e2 authored by Eoin O'Neill's avatar Eoin O'Neill 🍀
Browse files

Tool Repainting now accounts for 'corrected' tool paths.

This should reenable smaller than min-threshold rendering
back to expected behavior. It was currently rendering
incorrectly in both render modes.

BUG:427751
parent a089c216
......@@ -705,7 +705,7 @@ void KisToolPaint::requestUpdateOutline(const QPointF &outlineDocPoint, const Ko
m_outlineDocPoint = outlineDocPoint;
m_currentOutline = getOutlinePath(m_outlineDocPoint, event, outlineMode);
QRectF outlinePixelRect = m_currentOutline.boundingRect();
QRectF outlinePixelRect = tryFixBrushOutline(m_currentOutline).boundingRect();
QRectF outlineDocRect = currentImage()->pixelToDocument(outlinePixelRect);
// This adjusted call is needed as we paint with a 3 pixel wide brush and the pen is outside the bounds of the path
......
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