diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-17 22:32:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-17 22:32:14 +0400 |
commit | 408f7963c5cfd65792d826390b01896282de8e97 (patch) | |
tree | 89f6b242924f23d1b595929c4acd869322129817 /release | |
parent | a71d94ad7a84829abd7beb1d12bea3726f1b8955 (diff) |
error in own recent commit
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 7f35ae21dfb..625c3b1ab2f 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -778,8 +778,9 @@ class IMAGE_UV_sculpt_curve(bpy.types.Panel): 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 @@ class IMAGE_UV_sculpt(bpy.types.Panel): 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() |