Fix pixel perfect algorithm (fix #1945)

Regression introduced in 7c2038e7b5
This commit is contained in:
David Capello 2018-12-10 15:05:36 -03:00
parent afa59e8aa4
commit 58c1ee1e0e

View File

@ -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;
}