Blender Git Commit Log

Git Commits -> Revision a3e832e

Revision a3e832e by Antonis Ryakiotakis (master)
December 31, 2014, 12:11 (GMT)
Fix T42984 detail flood fill not respecting mask values for smooth/sharp
curves.

Issue here is that brush curve could return negative values. This would
result in overflow of mask values. Those were not visible during real
time preview because result would be clamped.

We had two functions in the code, one of which allowed negatives but I
don't think that we really want that, users have no control over the
negative values at all anyway.

Thanks to the reporter, Leon Cheung for figuring out the issue :)

Commit Details:

Full Hash: a3e832e68b88ff9bea5aa14fdda867a1aaf6919e
Parent Commit: bca434d
Lines Changed: +8, -20

6 Modified Paths:

/source/blender/blenkernel/BKE_brush.h (+1, -2) (Diff)
/source/blender/blenkernel/intern/brush.c (+2, -13) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021