diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
commit | 7095f4766593cc2b55669b032d7de0fa13fcb4c7 (patch) | |
tree | 3567f182b513225a1b522b75e144eb5b75d1b6e2 /release/scripts/startup/bl_ui/properties_paint_common.py | |
parent | d434815ff7c586f6e54af667e37c9d2d12726416 (diff) |
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index ba1947b0c66..b0da65063d1 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -20,7 +20,7 @@ from bpy.types import Menu -class UnifiedPaintPanel(): +class UnifiedPaintPanel: # subclass must set # bl_space_type = 'IMAGE_EDITOR' # bl_region_type = 'UI' @@ -249,7 +249,7 @@ def brush_texture_settings(layout, brush, sculpt): col.prop(tex_slot, "angle", text="") if tex_slot.has_texture_angle_source: col.prop(tex_slot, "use_rake", text="Rake") - + if brush.brush_capabilities.has_random_texture_angle and tex_slot.has_random_texture_angle: if sculpt: if brush.sculpt_capabilities.has_random_texture_angle: @@ -296,7 +296,7 @@ def brush_mask_texture_settings(layout, brush): col.prop(mask_tex_slot, "angle", text="") if mask_tex_slot.has_texture_angle_source: col.prop(mask_tex_slot, "use_rake", text="Rake") - + if brush.brush_capabilities.has_random_texture_angle and mask_tex_slot.has_random_texture_angle: col.prop(mask_tex_slot, "use_random", text="Random") if mask_tex_slot.use_random: |