Don't use fixes for line brush when the brush size = 1

This commit is contained in:
David Capello 2020-08-03 20:07:06 -03:00
parent 7355d0e2db
commit b95f96f645

View File

@ -127,7 +127,8 @@ doc::AlgoLineWithAlgoPixel Intertwine::getLineAlgo(ToolLoop* loop,
const Stroke::Pt& b)
{
bool needsFixForLineBrush = false;
if (loop->getBrush()->type() == kLineBrushType) {
if ((loop->getBrush()->type() == kLineBrushType) &&
(a.size > 1.0 || b.size > 1.0)) {
if ((a.angle != 0.0f || b.angle != 0.0f) &&
(a.angle != b.angle)) {
needsFixForLineBrush = true;