Diffusion Krita c46b7ecb38e5

Fix ShapeShearStrategy not to get crazy with zero-width shapes

Authored by dkazakov on Mar 20 2020, 9:14 PM.

Description

Fix ShapeShearStrategy not to get crazy with zero-width shapes

Just avoid division by zero and insanely big shear values

(cherry picked from commit e4530c63a3fdf114fe3088f9f80fbd41bccf9f74)

Details

Committed
remptApr 2 2020, 1:09 PM
Parents
R37:440179f6d1c3: Simplify code by using routines from KisAlgebra2D
Branches
Unknown
Tags
Unknown