Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2022-04-11 20:18:03 +0300
committerJoseph Eagar <joeedh@gmail.com>2022-04-11 20:19:40 +0300
commit7163db99c4d8b908fb2c7c7768754b91cac0eb5e (patch)
treebe137e4e125f7d485d79937b52cd3dd4de54197b
parent4aac251b421b4576b06635d969f802db1d9a3d84 (diff)
Fix T97096: Color filter brush was corrupting alpha.
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_filter_color.c1
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: {