fix [#33037] Soften brush can't handle seams in texture paint

project paint never worked with soften (blur), support now added.
This commit is contained in:
Campbell Barton
2012-11-06 09:19:51 +00:00
parent e7bea58d35
commit 5effa2923a
2 changed files with 117 additions and 9 deletions

View File

@@ -1048,7 +1048,7 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel):
@classmethod
def poll(cls, context):
brush = context.tool_settings.image_paint.brush
return (brush and brush.image_tool != 'SOFTEN')
return (brush is not None)
def draw_header(self, context):
ipaint = context.tool_settings.image_paint