fix from recent poll() edits.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 9 Aug 2010 08:18:49 +0000 (08:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 9 Aug 2010 08:18:49 +0000 (08:18 +0000)
release/scripts/ui/space_view3d_toolbar.py

index ee3a1a2a43c90e85bf8955d7774b77100b8c6483..56abbb3cb1406b3ebe22d3b385c5b13743599bab 100644 (file)
@@ -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