From 8bfa48384d3604cfc5fd265e89bf86f129242542 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Jan 2012 14:55:43 +0000 Subject: Cycles: checker texture node, patch by Thomas. --- intern/cycles/app/cycles_xml.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/cycles/app') diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index e29a73ec9e8..af52520d87c 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -349,6 +349,9 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug else if(string_iequals(node.name(), "noise_texture")) { snode = new NoiseTextureNode(); } + else if(string_iequals(node.name(), "checker_texture")) { + snode = new CheckerTextureNode(); + } else if(string_iequals(node.name(), "gradient_texture")) { GradientTextureNode *blend = new GradientTextureNode(); xml_read_enum(&blend->type, GradientTextureNode::type_enum, node, "type"); -- cgit v1.2.3