From: Campbell Barton Date: Mon, 9 Aug 2010 08:18:49 +0000 (+0000) Subject: fix from recent poll() edits. X-Git-Url: https://git.blender.org/gitweb/gitweb.cgi/blender-staging.git/commitdiff_plain/c026b8066ddc1c42144d2e5132384ea7c1211050?ds=sidebyside fix from recent poll() edits. --- 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