diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-04-11 20:18:03 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-04-11 20:19:40 +0300 |
commit | 7163db99c4d8b908fb2c7c7768754b91cac0eb5e (patch) | |
tree | be137e4e125f7d485d79937b52cd3dd4de54197b | |
parent | 4aac251b421b4576b06635d969f802db1d9a3d84 (diff) |
Fix T97096: Color filter brush was corrupting alpha.
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_filter_color.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_color.c b/source/blender/editors/sculpt_paint/sculpt_filter_color.c index e4180a36a98..ebebd9efd80 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_color.c +++ b/source/blender/editors/sculpt_paint/sculpt_filter_color.c @@ -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: { |