diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-04-07 19:29:24 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-04-08 09:36:23 +0300 |
commit | 0ea66039dd5374e23e9e60e8e3192f919d4f1abd (patch) | |
tree | fc1ffd55dcf853828d0dc3ee6fe0abe3671f6766 /source/blender/editors | |
parent | b7b1b2325c1a280f1e038736406cf75c4c8b9a05 (diff) |
Fix T87267: Texture Paint stencil texture not drawing
Typo in {rBafcfc6eb0842}.
Maniphest Tasks: T87267
Differential Revision: https://developer.blender.org/D10915
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |