diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-22 04:14:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-22 04:14:15 +0400 |
commit | b7fa08f88a260bbd9008c11875cb14052d6c7eb1 (patch) | |
tree | 6b4a90e6fdbf6727f224a9130082b2dc027a5088 /release/scripts/startup/bl_ui/space_image.py | |
parent | 1a79abdad2443ff9f12e7efd95ee78a264a9d60a (diff) |
Code cleanup: style
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 529cea1935d..3571759aa1f 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -45,6 +45,7 @@ class BrushButtonsPanel: toolsettings = context.tool_settings.image_paint return sima.show_paint and toolsettings.brush + class UVToolsPanel: bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'TOOLS' @@ -55,6 +56,7 @@ class UVToolsPanel: sima = context.space_data return sima.show_uvedit and not context.tool_settings.use_uv_sculpt + class IMAGE_MT_view(Menu): bl_label = "View" @@ -494,6 +496,7 @@ class IMAGE_PT_mask(MASK_PT_mask, Panel): bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'UI' + class IMAGE_PT_mask_layers(MASK_PT_layers, Panel): bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'UI' @@ -653,9 +656,10 @@ class IMAGE_PT_tools_transform_uvs(Panel, UVToolsPanel): col.operator("transform.shear") + class IMAGE_PT_paint(Panel, ImagePaintPanel): bl_label = "Paint" - + @classmethod def poll(cls, context): sima = context.space_data @@ -986,6 +990,7 @@ class IMAGE_PT_tools_mask(MASK_PT_tools, Panel): # --- end mask --- + class IMAGE_PT_view_histogram(Panel): bl_space_type = 'IMAGE_EDITOR' bl_region_type = 'TOOLS' |