Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-07-29 14:03:46 +0400
committerThomas Dinges <blender@dingto.org>2012-07-29 14:03:46 +0400
commitab38e1d3795f58b5b3e9ca0377c9348ed710471a (patch)
treee2aa8cd5c7c83fd2781d8a2b3f71d45707dd02a9 /release/scripts/startup/bl_ui/properties_texture.py
parentb2462f8985c20b364590937d535d8e4d35f97599 (diff)
User Interface Scripts:
* Code cleanup, removed unneeded code. * Style cleanup, don't break lines to early (unless marked as pep8-80 or pep8-120 compliant) * Keep 1 line after layout declaration empty.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_texture.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 5bde9538e54..96094708ea2 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -116,6 +116,7 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
+
slot = getattr(context, "texture_slot", None)
node = getattr(context, "texture_node", None)
space = context.space_data