diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-11-17 09:30:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-11-17 09:30:06 +0300 |
commit | d0d16ecaeed0e6628d9ce18ba0808dedd992d44f (patch) | |
tree | f456054332bfe163bb5bee0f825d8d50c71d8a64 /release | |
parent | 1bb98b41944dadf69645cf3b99bcabd9834f9240 (diff) |
Fix #22645: Texture paint: soften tool does draw brushes
Disable projection painting for soften tools.
Also it looks like smear tools support projection in the code, so
enabled project paint menu for such tools
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_view3d_toolbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py index 12ecc24ed2d..d49ae34f222 100644 --- a/release/scripts/ui/space_view3d_toolbar.py +++ b/release/scripts/ui/space_view3d_toolbar.py @@ -1159,7 +1159,7 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, bpy.types.Panel): @classmethod def poll(cls, context): brush = context.tool_settings.image_paint.brush - return (brush and brush.imagepaint_tool != 'SMEAR') + return (brush and brush.imagepaint_tool != 'SOFTEN') def draw_header(self, context): ipaint = context.tool_settings.image_paint |