mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Fix pixel perfect algorithm (fix #1945)
Regression introduced in 7c2038e7b5
This commit is contained in:
parent
afa59e8aa4
commit
58c1ee1e0e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user