[Bf-blender-cvs] [7a2a2a623d9] temp-texture-painting-gpu: Removed debug code.

Jeroen Bakker noreply at git.blender.org
Mon Oct 3 15:04:38 CEST 2022


Commit: 7a2a2a623d9b8d6a3704268b35345433bc194a97
Author: Jeroen Bakker
Date:   Mon Oct 3 15:04:28 2022 +0200
Branches: temp-texture-painting-gpu
https://developer.blender.org/rB7a2a2a623d9b8d6a3704268b35345433bc194a97

Removed debug code.

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c
M	source/blender/editors/sculpt_paint/sculpt_paint_image.cc

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 752a59a968b..f19f8e91738 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5652,7 +5652,6 @@ static int sculpt_brush_stroke_invoke(bContext *C, wmOperator *op, const wmEvent
                             sculpt_stroke_redraw,
                             sculpt_stroke_done,
                             event->type);
-  printf("%s\n", __func__);
 
   op->customdata = stroke;
 
diff --git a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
index 46741982354..0216f910bdf 100644
--- a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
@@ -784,8 +784,12 @@ bool SCULPT_use_image_paint_brush(PaintModeSettings *settings, Object *ob)
 /** Can the sculpt paint be performed on the GPU? */
 static bool SCULPT_use_image_paint_compute()
 {
+#if 1
+  return false;
+#else
   return GPU_compute_shader_support() && GPU_shader_storage_buffer_objects_support() &&
          GPU_shader_image_load_store_support();
+#endif
 }
 
 void SCULPT_do_paint_brush_image(



More information about the Bf-blender-cvs mailing list