diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-10-03 16:04:28 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-10-03 16:04:28 +0300 |
commit | 7a2a2a623d9b8d6a3704268b35345433bc194a97 (patch) | |
tree | 467fa3806a1309335ff3750ab1a135e27e359f9c | |
parent | 78f46baa475ae817d6f87d95afab0803d160190b (diff) |
Removed debug code.
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 1 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_paint_image.cc | 4 |
2 files changed, 4 insertions, 1 deletions
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( |