Fix (unreported) bad handling of brush's fill threshold value.
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 18 Nov 2016 14:32:50 +0000 (15:32 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 18 Nov 2016 14:32:50 +0000 (15:32 +0100)
commitf6083b7bcd6901ae8d8452e34d1230afaa8da3fb
treefb3f30a1a6a8fc47d02f3dccfcaa05fac3926b88
parent8f0dc3cef6c3f3e02a0a4322cd241cf379e52552
Fix (unreported) bad handling of brush's fill threshold value.

'1' threshold value would only allow to access a third of the basic
'color space' (from black to white, from 0.0 to 1.0 component values),
when you expect it to access the whole range.

Unfortunately, this needs a subversion bump to allow already defined
brushes to keep exact same behavior!

Also, did not change default value (0.2) for new brushes, think here
keeping current one makes more sense.

Thanks to @LucaRood for confirming the issue.
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/sculpt_paint/paint_image_2d.c