diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-04-19 09:35:54 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-04-19 13:31:00 +0300 |
commit | 058ce64be0001930a2100c31298bafe1c3a62b9e (patch) | |
tree | 29d85c582f1c928da9260f1b1e4af6b084b87578 /source/blender/editors | |
parent | 14a2706886693456f19ee78f7cfb632e79fb049f (diff) |
Fix: Uninitialized paint brush when using byte textures.
This is a fix for the 3d texturing brush.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_paint_image.cc | 2 |
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) { |