Commit: 0ea66039dd5374e23e9e60e8e3192f919d4f1abd
Author: Philipp Oeser
Date: Wed Apr 7 18:29:24 2021 +0200
Branches: master
https://developer.blender.org/rB0ea66039dd5374e23e9e60e8e3192f919d4f1abd
Fix T87267: Texture Paint stencil texture not drawing
Typo in {rBafcfc6eb0842}.
Maniphest Tasks: T87267
Differential Revision: https://developer.blender.org/D10915
===================================================================
M source/blender/editors/sculpt_paint/paint_cursor.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c
b/source/blender/editors/sculpt_paint/paint_cursor.c
index c5e7b2dc4d3..7740fb42c37 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -558,7 +558,7 @@ static bool paint_draw_tex_overlay(UnifiedPaintSettings
*ups,
int overlay_alpha = (primary) ? brush->texture_overlay_alpha :
brush->mask_overlay_alpha;
if (mode == PAINT_MODE_TEXTURE_3D) {
- if (primary && brush->imagepaint_tool == PAINT_TOOL_DRAW) {
+ if (primary && brush->imagepaint_tool != PAINT_TOOL_DRAW) {
/* All non-draw tools don't use the primary texture (clone, smear,
soften.. etc). */
return false;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs