Diffusion Krita 0f09557bfde2

Fix drawing outlines of null-width shapes

Authored by dkazakov on Mar 20 2020, 8:36 PM.

Description

Fix drawing outlines of null-width shapes

If a shape has null width it doesn't mean we shouldn't paint its outline.
Transformations and polygons work with such "empty" rects correctly,
see a special test for it in KisAlgebra2DTest::testNullRectProcessing().

(cherry picked from commit 8be443cbf667ee691fdc964e6defcb028b0251b5)

Details

Committed
remptApr 2 2020, 1:09 PM
Parents
R37:a6ed77cc6f6a: Fix division by zero when resizing 0px-width shapes (lines)
Branches
Unknown
Tags
Unknown