Summary: | Drawing near the edge of locked alpha layer with smudge brush results in unwanted color behaviour. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Bollebib <kwadraatnope> |
Component: | Brush engines | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | animtim, halla, sven.langkamp |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/f9d92a94dfb57fab07ed07fec7248f4914e99ba8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Bollebib
2013-06-20 10:54:37 UTC
Ack, I can reproduce. This issue is not exactly specific to "lock alpha". You can reproduce on a not-locked canvas too: -create new document -add new layer -hide background layer (so it's easier to see next steps..) -on the new layer, draw a white area using a fully opaque preset (like fill_circle). -select a smudge preset (like Smudge_block_tilt), and smudge the white area starting from outside to the inside. -see the black added. Git commit 8adefa2cc486ba82a6919edb812e4c63b5ba8e7b by Dmitry Kazakov. Committed on 03/12/2013 at 13:29. Pushed by dkazakov into branch 'master'. Fix KoCompositeOpCopy2 to handle source alpha channel properly The value of the source aplha should be taken into account while blending two pixels. Otherwise black aerials appear on screen. This might not be too mathematically correct, but at least something. M +7 -0 krita/benchmarks/kis_composition_benchmark.cpp M +2 -0 krita/benchmarks/kis_composition_benchmark.h M +12 -6 libs/pigment/compositeops/KoCompositeOpCopy2.h http://commits.kde.org/calligra/8adefa2cc486ba82a6919edb812e4c63b5ba8e7b Git commit f9d92a94dfb57fab07ed07fec7248f4914e99ba8 by Dmitry Kazakov. Committed on 03/12/2013 at 13:29. Pushed by dkazakov into branch 'calligra/2.8'. Fix KoCompositeOpCopy2 to handle source alpha channel properly The value of the source aplha should be taken into account while blending two pixels. Otherwise black aerials appear on screen. This might not be too mathematically correct, but at least something. M +7 -0 krita/benchmarks/kis_composition_benchmark.cpp M +2 -0 krita/benchmarks/kis_composition_benchmark.h M +12 -6 libs/pigment/compositeops/KoCompositeOpCopy2.h http://commits.kde.org/calligra/f9d92a94dfb57fab07ed07fec7248f4914e99ba8 |