[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31190] trunk/blender/release/scripts/ui/ space_view3d_toolbar.py: fix from recent poll() edits.

Campbell Barton ideasman42 at gmail.com
Mon Aug 9 10:18:49 CEST 2010


Revision: 31190
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31190
Author:   campbellbarton
Date:     2010-08-09 10:18:49 +0200 (Mon, 09 Aug 2010)

Log Message:
-----------
fix from recent poll() edits.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_view3d_toolbar.py

Modified: trunk/blender/release/scripts/ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d_toolbar.py	2010-08-09 07:05:37 UTC (rev 31189)
+++ trunk/blender/release/scripts/ui/space_view3d_toolbar.py	2010-08-09 08:18:49 UTC (rev 31190)
@@ -962,7 +962,7 @@
     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 @@
         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





More information about the Bf-blender-cvs mailing list