[Bf-blender-cvs] [aef482b72fa] temp-T97352-3d-texturing-seam-bleeding: Fix: Uninitialized paint brush when using byte textures.
Jeroen Bakker
noreply at git.blender.org
Tue Apr 19 11:02:45 CEST 2022
Commit: aef482b72fac93a67d01397bed761141dde20db8
Author: Jeroen Bakker
Date: Tue Apr 19 08:35:54 2022 +0200
Branches: temp-T97352-3d-texturing-seam-bleeding
https://developer.blender.org/rBaef482b72fac93a67d01397bed761141dde20db8
Fix: Uninitialized paint brush when using byte textures.
This is a fix for the 3d texturing brush.
===================================================================
M source/blender/editors/sculpt_paint/sculpt_paint_image.cc
===================================================================
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) {
More information about the Bf-blender-cvs
mailing list