From 58c1ee1e0ec26b0710209d8fe4ed455c9b84385a Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 10 Dec 2018 15:05:36 -0300 Subject: [PATCH] Fix pixel perfect algorithm (fix #1945) Regression introduced in 7c2038e7b55a7344ff003d5dea8dfb28978dcc83 --- src/app/tools/intertwiners.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/app/tools/intertwiners.h b/src/app/tools/intertwiners.h index b11763c83..b4d83e536 100644 --- a/src/app/tools/intertwiners.h +++ b/src/app/tools/intertwiners.h @@ -366,10 +366,6 @@ public: if (stroke.size() == 0) return; - else if (stroke.size() == 2) { - doPointshapeLine(stroke[0].x, stroke[0].y, - stroke[1].x, stroke[1].y, loop); - } else if (m_pts.empty() && stroke.size() == 1) { m_pts = stroke; }