diff options
author | Thomas Dinges <blender@dingto.org> | 2013-02-04 22:50:09 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-02-04 22:50:09 +0400 |
commit | 13499c6240e9c4d69dc26a45a3b6bcbf11e8b414 (patch) | |
tree | 98f251351b41d6b3cbff220c81a85d0dab373474 /intern/cycles/blender | |
parent | ea723386c31e4c691e6a64f6c69a83b30f8c3010 (diff) |
Cycles UI Code:
* Some more variable cleanup for old texture output.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 5e5f9b03e2c..840fc216c49 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -875,7 +875,6 @@ class CyclesTexture_PT_mapping(CyclesButtonsPanel, Panel): @classmethod def poll(cls, context): - tex = context.texture node = context.texture_node return node and CyclesButtonsPanel.poll(context) @@ -907,15 +906,13 @@ class CyclesTexture_PT_colors(CyclesButtonsPanel, Panel): @classmethod def poll(cls, context): - # tex = context.texture # node = context.texture_node return False - #return (node or (tex and tex.use_nodes)) and CyclesButtonsPanel.poll(context) + #return node and CyclesButtonsPanel.poll(context) def draw(self, context): layout = self.layout - - # tex = context.texture + node = context.texture_node mapping = node.color_mapping |