Commit: 093ebb71ee578e5dc367a04c9748b68a268e6284
Author: Jeroen Bakker
Date: Mon Apr 4 14:31:53 2022 +0200
Branches: temp-T96710-pbvh-pixels
https://developer.blender.org/rB093ebb71ee578e5dc367a04c9748b68a268e6284
Hook experimental flag to paint 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 def65e56b9d..23612e005fd 100644
--- a/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_paint_image.cc
@@ -407,6 +407,9 @@ bool SCULPT_paint_image_canvas_get(Object *ob, Image
**r_image, ImageUser **r_im
bool SCULPT_use_image_paint_brush(Sculpt *UNUSED(sd), Object *ob)
{
+ if (!U.experimental.use_sculpt_texture_paint) {
+ return false;
+ }
if (ob->type != OB_MESH) {
return false;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs