Diffusion Krita 8d6e9e71ff24

Fix slowdown when calculating outline of too many shapes

Authored by dkazakov on Dec 4 2019, 8:42 AM.

Description

Fix slowdown when calculating outline of too many shapes

The original idea was to optimize-out inverted transformation. To achieve
that all outlines were grouped into a polygon and then invert-transformed.
But it seem that for big vector images (300+ shapes) aggregating this
polygon is a really expensive operation. Therefore, this patch just
does transformations for every shape separately.

Details

Committed
dkazakovDec 4 2019, 8:42 AM
Parents
R37:7069c40dfae2: Fix misprint
Branches
Unknown
Tags
Unknown
References
refs/keep-around/8d6e9e71ff248646bdea1216a02d0e0cbb6e8e19