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

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/925bf97f8
                   |                            |d4ed1101267fd86d99536069a05
                   |                            |f969

--- Comment #7 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 925bf97f8d4ed1101267fd86d99536069a05f969 by Agata Cacko.
Committed on 04/07/2020 at 17:33.
Pushed by tymond into branch 'master'.

Fix saving broken .ora file in case of empty layer

Before this commit, saving an empty layer to .ora would result in a
broken file because the result PNG for the layer would be 0x0.
This commit artificially increases the size of the layer with one pixel
when the layer is empty to make sure there is some data (even if
invisible) to save to PNG file.

M  +6    -0    plugins/impex/ora/kis_open_raster_stack_save_visitor.cpp

https://invent.kde.org/graphics/krita/commit/925bf97f8d4ed1101267fd86d99536069a05f969

--- Comment #8 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 0401b14169964fcb69dc04cc613f6a9ef04ec3ea by Agata Cacko.
Committed on 04/07/2020 at 17:33.
Pushed by tymond into branch 'master'.

Don't save fake nodes in .ora files

Before this commit, Krita would try to save reference images layer into
.ora files. Since reference images layer doesn't have any projection
(and the name for the layer is 'No Name'...), it would result in a ghost
new layer on top of the layer stack called 'No Name'.
Since there is no projection nor other information, there is no point
in saving it to .ora files.
This commit omits reference images layer (and other fake nodes)
when saving to .ora.

M  +4    -0    plugins/impex/ora/kis_open_raster_stack_save_visitor.cpp

https://invent.kde.org/graphics/krita/commit/0401b14169964fcb69dc04cc613f6a9ef04ec3ea

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

Reply via email to