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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-08 18:55:43 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-08 18:55:43 +0400
commit8bfa48384d3604cfc5fd265e89bf86f129242542 (patch)
tree4591aa40eade90ffe306b50b5d650d8cbd7efbdb /intern/cycles/app
parent4487103e61ba1277027d8d4a9105a3f1b29e204c (diff)
Cycles: checker texture node, patch by Thomas.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/cycles_xml.cpp3
1 files changed, 3 insertions, 0 deletions
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");