Fix T97096: Color filter brush was corrupting alpha.

This commit is contained in:
Joseph Eagar 2022-04-11 10:18:03 -07:00
parent 4aac251b42
commit 7163db99c4
Notes: blender-bot 2023-02-14 09:17:57 +01:00
Referenced by issue #97096, Sculpt Painting: Smear brush erases after using Color Filter
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ static void color_filter_task_cb(void *__restrict userdata,
}
copy_v3_v3(orig_color, orig_data.col);
final_color[3] = orig_data.col[3]; /* Copy alpha */
switch (mode) {
case COLOR_FILTER_FILL: {