https://bugs.kde.org/show_bug.cgi?id=423088
Tymond <tamtamy.tym...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/41d481852 |hics/krita/commit/9d39b8d39 |428cb4658ad13c458b1d47582cb |5082fcdc4c549cd206f51e89fa5 |4d48 |8f84 --- Comment #9 from Tymond <tamtamy.tym...@gmail.com> --- Git commit 9c115719730281d50322abe3467d54616a292bbe by Agata Cacko. Committed on 04/07/2020 at 21:33. Pushed by tymond into branch 'krita/4.3.0'. 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. M +14 -2 plugins/impex/ora/kis_open_raster_stack_save_visitor.cpp https://invent.kde.org/graphics/krita/commit/9c115719730281d50322abe3467d54616a292bbe --- Comment #10 from Tymond <tamtamy.tym...@gmail.com> --- Git commit 9d39b8d395082fcdc4c549cd206f51e89fa58f84 by Agata Cacko, on behalf of InkLab App. Committed on 04/07/2020 at 21:32. Pushed by tymond into branch 'krita/4.3.0'. Fix exporting ORA files While gathering the x + y offsets, and bounds for saved layers in ORA, now use the layer->exactBounds() method instead of the plain layer->x() and layer->y(). This seems to correctly capture transformations outside of the original layer bounds when using transform tools. M +5 -5 plugins/impex/ora/kis_open_raster_stack_save_visitor.cpp https://invent.kde.org/graphics/krita/commit/9d39b8d395082fcdc4c549cd206f51e89fa58f84 -- You are receiving this mail because: You are watching all bug changes.