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_texture.py | |
parent | d434815ff7c586f6e54af667e37c9d2d12726416 (diff) |
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_texture.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_texture.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py index a0c4e0c92c3..23b5e5779f9 100644 --- a/release/scripts/startup/bl_ui/properties_texture.py +++ b/release/scripts/startup/bl_ui/properties_texture.py @@ -116,7 +116,7 @@ def id_tex_datablock(bid): return bid -class TextureButtonsPanel(): +class TextureButtonsPanel: bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' bl_context = "texture" @@ -135,8 +135,8 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel): @classmethod def poll(cls, context): engine = context.scene.render.engine - #if not (hasattr(context, "texture_slot") or hasattr(context, "texture_node")): - #return False + # if not (hasattr(context, "texture_slot") or hasattr(context, "texture_node")): + # return False return ((context.material or context.world or context.lamp or |