https://bugs.kde.org/show_bug.cgi?id=411056
Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/64e4de6c6c8068
                   |                            |6281cdb74a53eaf88ddafd6b5a

--- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 64e4de6c6c80686281cdb74a53eaf88ddafd6b5a by Dmitry Kazakov.
Committed on 12/05/2020 at 18:48.
Pushed by dkazakov into branch 'master'.

Add a workaround for boolean operations on shapes

The problem is that Qt's path boolean operation do not support curves,
therefore all the curves are converted into lines
(see QPathSegments::addPath()). The curves are split into lines using
absolute size of the curve for the threshold. Therefore, when applying
boolean operations we should convert them into 'image pixel' coordinate
space first.

M  +7    -0    libs/image/krita_utils.cpp
M  +17   -0    libs/image/krita_utils.h
M  +13   -5    libs/ui/flake/kis_shape_selection.cpp
M  +9    -1    libs/ui/tool/kis_selection_tool_helper.cpp
M  +12   -1    plugins/tools/defaulttool/defaulttool/DefaultTool.cpp

https://invent.kde.org/kde/krita/commit/64e4de6c6c80686281cdb74a53eaf88ddafd6b5a

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

Reply via email to