Diffusion Krita ba03f03732a1

Do an exact match of the color if threshold is set to 1

Authored by rempt on Jan 18 2018, 2:06 PM.

Description

Do an exact match of the color if threshold is set to 1

If the threshold is set to 1, checking the difference between
colors through a conversion to lab and cmsDeltaE will not be
precise enough. A threshold of 1 means that no difference at
all is allowed.

This patch checks in relevant places whether the threshold is
1 and then does a memcmp.

BUG:385160

Details

Committed
remptJan 18 2018, 2:07 PM
Parents
R37:e67ed09bd7df: BUG:388806 Fix popup palette slightly adjusting zoom when being shown
Branches
Unknown
Tags
Unknown