[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43472] trunk/blender/release/scripts/ startup/bl_ui/space_image.py: error in own recent commit

Campbell Barton ideasman42 at gmail.com
Tue Jan 17 19:32:15 CET 2012


Revision: 43472
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43472
Author:   campbellbarton
Date:     2012-01-17 18:32:14 +0000 (Tue, 17 Jan 2012)
Log Message:
-----------
error in own recent commit

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_image.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_image.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_image.py	2012-01-17 18:29:46 UTC (rev 43471)
+++ trunk/blender/release/scripts/startup/bl_ui/space_image.py	2012-01-17 18:32:14 UTC (rev 43472)
@@ -778,8 +778,9 @@
     def draw(self, context):
         layout = self.layout
 
-        toolsettings = context.tool_settings.uv_sculpt
-        brush = toolsettings.brush
+        toolsettings = context.tool_settings
+        uvsculpt = toolsettings.uv_sculpt
+        brush = uvsculpt.brush
 
         layout.template_curve_mapping(brush, "curve")
 
@@ -806,8 +807,9 @@
     def draw(self, context):
         layout = self.layout
 
-        toolsettings = context.tool_settings.uv_sculpt
-        brush = toolsettings.brush
+        toolsettings = context.tool_settings
+        uvsculpt = toolsettings.uv_sculpt
+        brush = uvsculpt.brush
 
         if brush:
             col = layout.column()



More information about the Bf-blender-cvs mailing list