diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-26 05:05:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-26 05:05:37 +0400 |
commit | e7c4a0d53b950e5be77528efad907def59d18a8f (patch) | |
tree | d9976137e57ea5f25e1e7f87eb951888241288c0 /release/scripts/ui/space_image.py | |
parent | da2a2005c7542b364057824c459ae0bc5d0af289 (diff) |
rna api - replace panel properties bl_default_closed and bl_show_header with bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'.
this matches operators which also uses bl_options like this
Diffstat (limited to 'release/scripts/ui/space_image.py')
-rw-r--r-- | release/scripts/ui/space_image.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/ui/space_image.py b/release/scripts/ui/space_image.py index eaafa1a7038..bd59aaa42fa 100644 --- a/release/scripts/ui/space_image.py +++ b/release/scripts/ui/space_image.py @@ -604,7 +604,7 @@ class IMAGE_PT_paint(bpy.types.Panel): class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, bpy.types.Panel): bl_label = "Texture" - bl_default_closed = True + bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout @@ -621,7 +621,7 @@ class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, bpy.types.Panel): class IMAGE_PT_paint_stroke(BrushButtonsPanel, bpy.types.Panel): bl_label = "Paint Stroke" - bl_default_closed = True + bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout @@ -645,7 +645,7 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, bpy.types.Panel): class IMAGE_PT_paint_curve(BrushButtonsPanel, bpy.types.Panel): bl_label = "Paint Curve" - bl_default_closed = True + bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout |