Sculpt/Paint: Invert curve alpha overlay

Reviewed By: billreynish

Differential Revision: https://developer.blender.org/D5998
This commit is contained in:
Pablo Dobarro 2019-10-05 20:58:19 +02:00
parent afb9bdc320
commit 525a8bdf1d
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ static void load_tex_cursor_task_cb(void *__restrict userdata,
if (len <= 1.0f) {
float avg = BKE_brush_curve_strength_clamped(br, len, 1.0f); /* Falloff curve */
buffer[index] = 255 - (GLubyte)(255 * avg);
buffer[index] = (GLubyte)(255 * avg);
}
else {
buffer[index] = 0;