Cycles UI Code:
* Some more variable cleanup for old texture output.
This commit is contained in:
@@ -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
|
||||
|
@@ -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. */
|
||||
|
||||
|
Reference in New Issue
Block a user