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:
authorJeroen Bakker <jeroen@blender.org>2022-04-19 09:35:54 +0300
committerJeroen Bakker <jeroen@blender.org>2022-04-19 13:31:00 +0300
commit058ce64be0001930a2100c31298bafe1c3a62b9e (patch)
tree29d85c582f1c928da9260f1b1e4af6b084b87578
parent14a2706886693456f19ee78f7cfb632e79fb049f (diff)
Fix: Uninitialized paint brush when using byte textures.
This is a fix for the 3d texturing brush.
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_paint_image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
index 1fc7551f545..df1ccc0fbe9 100644
--- a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
@@ -330,7 +330,7 @@ static void do_paint_pixels(void *__restrict userdata,
kernel_float4.init_brush_color(image_buffer);
}
else {
- kernel_float4.init_brush_color(image_buffer);
+ kernel_byte4.init_brush_color(image_buffer);
}
for (const PackedPixelRow &pixel_row : tile_data.pixel_rows) {