Cycles UI Code:

* Some more variable cleanup for old texture output.
This commit is contained in:
Thomas Dinges
2013-02-04 18:50:09 +00:00
parent ea723386c3
commit 13499c6240
2 changed files with 3 additions and 6 deletions

View File

@@ -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

View File

@@ -16,7 +16,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/* Optimized CPU kernel entry points. This file is compiled with SSE3
/* Optimized CPU kernel entry points. This file is compiled with SSE2
* optimization flags and nearly all functions inlined, while kernel.cpp
* is compiled without for other CPU's. */