https://bugs.kde.org/show_bug.cgi?id=344437

--- Comment #5 from joup...@gmail.com ---
Git commit 2f888b32d70f91a206addaf43a2eea94d1b26909 by Jouni Pentikäinen.
Committed on 11/12/2017 at 16:09.
Pushed by jounip into branch 'master'.

Fix NaN values from hairy brushes

A hairy brush with ink deplation enabled for opacity, without
weights, would use unitialized data from Bristle::m_inkAmount
which would later get converted from double to float.

Bristle members are now always initialized, and intermediary
values clamped to correct range.

M  +6    -19   plugins/paintops/hairy/bristle.cpp
M  +9    -9    plugins/paintops/hairy/bristle.h
M  +6    -7    plugins/paintops/hairy/hairy_brush.cpp

https://commits.kde.org/krita/2f888b32d70f91a206addaf43a2eea94d1b26909

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to