mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix straight line preview on pencil tool to avoid crash
This commit is contained in:
parent
89fcd44394
commit
6c08b5807d
@ -462,8 +462,7 @@ public:
|
||||
return;
|
||||
}
|
||||
else {
|
||||
if (m_pts[m_pts.size() - 1] == stroke.lastPoint() &&
|
||||
stroke.firstPoint() == stroke.lastPoint())
|
||||
if (stroke.firstPoint() == stroke.lastPoint())
|
||||
return;
|
||||
|
||||
nextPt = m_pts.size();
|
||||
|
Loading…
Reference in New Issue
Block a user