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

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 67b2738002a3cd50b532af257c368bbe6344199a by Dmitry Kazakov.
Committed on 19/08/2019 at 17:27.
Pushed by dkazakov into branch 'kazakov/transformable-decorations-bug-331789'.

Implement transformation of the Grid when image is transformed

Basically, we implement a fake layer (KisDecorationsWrapperLayer),
which accepts all the transformations and tries to transform decorations
(only grids are implemented atm).

There is a tricky thing: tranformations are undoable, but modifications
to grids are not! Therefore we should be really careful about transforming
grids. We cannot just save their state, like we plan to do for all the
vector objects. Instead, we should apply inverted transformation during
undo operation.

M  +24   -0    libs/global/kis_algebra_2d.h
M  +8    -0    libs/image/kis_layer_utils.h
M  +2    -0    libs/ui/CMakeLists.txt
A  +141  -0    libs/ui/KisDecorationsWrapperLayer.cpp     [License: GPL (v2+)]
A  +69   -0    libs/ui/KisDecorationsWrapperLayer.h     [License: GPL (v2+)]
M  +68   -11   libs/ui/KisDocument.cpp
M  +27   -0    libs/ui/canvas/kis_grid_config.cpp
M  +2    -0    libs/ui/canvas/kis_grid_config.h
M  +6    -3    plugins/dockers/griddocker/grid_config_widget.cpp

https://invent.kde.org/kde/krita/commit/67b2738002a3cd50b532af257c368bbe6344199a

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

Reply via email to