Diffusion Krita cef5f3528ec2

Make sure layer thumbnail's size is calculated using the projection itself

Authored by dkazakov on Jun 2 2020, 2:30 PM.

Description

Make sure layer thumbnail's size is calculated using the projection itself

We shouldn't use layer->extent() for the thumbnail generation, because
extent may also include indirect painting device, which may have a
different size, not like the one of projection (e.g. when selection is
active).

CCBUG:394439

Details

Committed
dkazakovJun 2 2020, 2:46 PM
Parents
R37:f4ed0c96778e: Fix layer's bounds extending when painting outside the selected area
Branches
Unknown
Tags
Unknown