Skip to content

Commit

Permalink
Fix CounCountour Tool: pixel perfect doesnt work after a straight line (
Browse files Browse the repository at this point in the history
  • Loading branch information
Gasparoken committed Apr 19, 2024
1 parent f64e806 commit c06b91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/tools/intertwiners.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Aseprite
// Copyright (C) 2018-2022 Igara Studio S.A.
// Copyright (C) 2018-2024 Igara Studio S.A.
// Copyright (C) 2001-2018 David Capello
//
// This program is distributed under the terms of
Expand Down Expand Up @@ -564,7 +564,7 @@ class IntertwineAsPixelPerfect : public Intertwine {
// point so we can restore it when erasing a point because of
// pixel-perfect. So we set the following flag to indicate this, and
// use it in doTransformPoint.
m_saveStrokeArea = (c == m_pts.size() - 1 && !m_retainedTracePolicyLast);
m_saveStrokeArea = (c == m_pts.size() - 1);
if (m_saveStrokeArea) {
clearPointshapeStrokePtAreas();
setLastPtIndex(c);
Expand Down

0 comments on commit c06b91f

Please sign in to comment.