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

--- Comment #6 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit fb247f6a6d87a3faf90f75a00a91d4be1335978c by Boudewijn Rempt, on
behalf of Agata Cacko.
Committed on 28/10/2020 at 09:24.
Pushed by rempt into branch 'master'.

Remove the workaround border from the ref images

Before this commit, Reference Images would use the same workaround
as the brush tips since they all use KisQImagePyramid.
However it is not needed for Reference Images and creates
an empty margin around the images.

This commit adds a new method to KisQImagePyramid to get the image
without the workaround border.
(The workaround is just 1 pixel of transparency around the whole edge
that KisQImagePyramid is returning as the closest mipmap image).

M  +9    -0    libs/brush/kis_qimage_pyramid.cpp
M  +2    -0    libs/brush/kis_qimage_pyramid.h
M  +1    -1    libs/ui/KisReferenceImage.cpp

https://invent.kde.org/graphics/krita/commit/fb247f6a6d87a3faf90f75a00a91d4be1335978c

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

Reply via email to