Dmitry Kazakov <> changed:

           What    |Removed                     |Added
      Latest Commit|                            |
                   |                            |ta/b739d56cacaf50f3ff6234b7
                   |                            |5f7f2eb196249396

--- Comment #4 from Dmitry Kazakov <> ---
Git commit b739d56cacaf50f3ff6234b75f7f2eb196249396 by Dmitry Kazakov.
Committed on 21/02/2018 at 15:15.
Pushed by dkazakov into branch 'master'.

Fix selection of path segments by clicking on them

There were two problems in segment selection algorithm:

1) It didn't use KoToolBase::handleGrabRect() for fetching grab
   distance, therefore it was not consistent with the distance
   we use for other actions.

2) KoPathSegment::nearestPoint() was filtering the final roots
   incorrectly. When searching for a point with nearest distance
   it was comparing the value with the **previous** point, but not
   the **minimal** one. Therefore, incorrect solution was returned.

M  +12   -12   libs/flake/KoPathSegment.cpp
M  +14   -14   libs/flake/tools/KoPathTool.cpp

You are receiving this mail because:
You are watching all bug changes.

Reply via email to