Diffusion Krita 4b721de90ede

Krita Behind blending mode glitch fix

Authored by fazek on Feb 26 2016, 10:45 AM.

Description

Krita Behind blending mode glitch fix

The Behind blending mode has a problem (at least) in 16 bit integer
channel mode, probably because of mixing signed and unsigned integer
calculations. The blended color turns into its inverse at
near-transparent areas. This modified version works without this
problem.

Testplan:
Open a canvas with 16 bits integer channels and draw on a transparent
layer with some colors in the Behind drawing mode. It's best to use some
blurred tool like the airbrush. If you cross a different color stroke,
you can see inverse colors at the edges (Linux, x86_64).

Differential review:
https://phabricator.kde.org/D1023

CC:mneko@freemail.hu

Details

Committed
dkazakovFeb 26 2016, 10:47 AM
Parents
R37:45775d3c5e50: update 3rd party instructions for a couple common errors
Branches
Unknown
Tags
Unknown