https://bugs.kde.org/show_bug.cgi?id=411056

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/grap
                   |krita/commit/64e4de6c6c8068 |hics/krita/commit/8a5135870
                   |6281cdb74a53eaf88ddafd6b5a  |197c5d93f9aac7f8cb67d9389a7
                   |                            |503a

--- Comment #7 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 8a5135870197c5d93f9aac7f8cb67d9389a7503a by Dmitry Kazakov.
Committed on 02/06/2020 at 10:06.
Pushed by dkazakov into branch 'krita/4.3'.

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/graphics/krita/commit/8a5135870197c5d93f9aac7f8cb67d9389a7503a

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

Reply via email to