2.5 weight paint:
[blender.git] / release / ui / space_view3d_toolbar.py
index 5d882866e96e0ae66c5f589120f165da27b5526a..5f42ff1d8b8cfba66aaa78801a54119e5fc17642 100644 (file)
@@ -429,7 +429,9 @@ class VIEW3D_PT_tools_brush_stroke(PaintPanel):
 
        def poll(self, context):
                settings = self.paint_settings(context)
-               return (settings and settings.brush and (context.sculpt_object or context.vertex_paint_object))
+               return (settings and settings.brush and (context.sculpt_object or
+                                                        context.vertex_paint_object or
+                                                        context.weight_paint_object))
 
        def draw(self, context):
                settings = self.paint_settings(context)