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

--- Comment #8 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 8adf54c9d91d7ed9b04e09177ff623a80d6e0c18 by Agata Cacko.
Committed on 04/07/2020 at 20:16.
Pushed by tymond into branch 'krita/4.3'.

Don't save x and y of groups in .ora files

Before this commit Krita would save position attributes for
group layers. However Krita and Gimp's handling of those attributes
differs from the behaviour MyPaint has. For the layer inside the group,
the position attributes are considered relative to the group layer
position (they are summed). In Krita and Gimp, the position of the layer
inside the group is considered absolute.

For example this layer structure:
> group layer x=100 y=100
>> paint layer x=100 y=100

In Krita and Gimp, the paint layer will appear in x=100 y=100
on the canvas, while in MyPaint it will appear in x=200 y=200.

This commit always saves group layers with x=0 and y=0 to avoid this
issue.


(cherry picked from commit 74c10b9577ccea4dec573b5a5be204acb5fad1df)

M  +14   -2    plugins/impex/ora/kis_open_raster_stack_save_visitor.cpp

https://invent.kde.org/graphics/krita/commit/8adf54c9d91d7ed9b04e09177ff623a80d6e0c18

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

Reply via email to