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:
authorLukas Stockner <lukas.stockner@freenet.de>2016-01-10 02:24:12 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2016-01-10 02:24:12 +0300
commit64df7a2b3848e71f56b3f5243e1352cd05ef70eb (patch)
treef8098a63c2aead00eca7027f661ad0b2b89fcaa5 /intern/cycles/app
parent6995b4d8d96a14ea574f85658b73504fa0d8070a (diff)
Cycles: Read Wave texture profile in the XML parser
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/cycles_xml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index edea8cd0ec4..b366e937d94 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -513,6 +513,7 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug
else if(string_iequals(node.name(), "wave_texture")) {
WaveTextureNode *wave = new WaveTextureNode();
xml_read_enum(&wave->type, WaveTextureNode::type_enum, node, "type");
+ xml_read_enum(&wave->profile, WaveTextureNode::profile_enum, node, "profile");
snode = wave;
}
else if(string_iequals(node.name(), "normal")) {