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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/9f4810685
                   |                            |ded1d9ee1ac0b654416d7c61b56
                   |                            |c42f
         Resolution|---                         |FIXED

--- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 9f4810685ded1d9ee1ac0b654416d7c61b56c42f by Dmitry Kazakov.
Committed on 13/08/2020 at 13:56.
Pushed by dkazakov into branch 'krita/4.3'.

Fix scaling of file layers with transparent background

For upscaling/downscaling the image we should use its physical
size saved in the original file, not just the bounding rect
calculated with exactBounds().

This patch may change the look of existing .kra files, but we
can consider this case inexistent, because the offset of
transparent file layers has always been calculated incorrectly.
I don't think anyone could use the feature for transparent
layers because of that.
CC:kimages...@kde.org

M  +9    -7    libs/ui/kis_file_layer.cpp
M  +1    -1    libs/ui/kis_file_layer.h
M  +4    -1    libs/ui/kis_safe_document_loader.cpp
M  +1    -1    libs/ui/kis_safe_document_loader.h

https://invent.kde.org/graphics/krita/commit/9f4810685ded1d9ee1ac0b654416d7c61b56c42f

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

Reply via email to