From c026b8066ddc1c42144d2e5132384ea7c1211050 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 9 Aug 2010 08:18:49 +0000 Subject: [PATCH] fix from recent poll() edits. --- release/scripts/ui/space_view3d_toolbar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py index ee3a1a2a43c..56abbb3cb14 100644 --- a/release/scripts/ui/space_view3d_toolbar.py +++ b/release/scripts/ui/space_view3d_toolbar.py @@ -962,7 +962,7 @@ class VIEW3D_PT_tools_brush_curve(PaintPanel, bpy.types.Panel): def draw(self, context): layout = self.layout - settings = cls.paint_settings(context) + settings = self.paint_settings(context) brush = settings.brush layout.template_curve_mapping(brush, "curve", brush=True) @@ -975,6 +975,7 @@ class VIEW3D_PT_tools_brush_curve(PaintPanel, bpy.types.Panel): row.operator("brush.curve_preset", icon="LINCURVE", text="").shape = 'LINE' row.operator("brush.curve_preset", icon="NOCURVE", text="").shape = 'MAX' + class VIEW3D_PT_sculpt_options(PaintPanel, bpy.types.Panel): bl_label = "Options" bl_default_closed = True -- 2.28.0