[Bf-blender-cvs] [64df7a2] master: Cycles: Read Wave texture profile in the XML parser
Lukas Stockner
noreply at git.blender.org
Sun Jan 10 00:51:50 CET 2016
Commit: 64df7a2b3848e71f56b3f5243e1352cd05ef70eb
Author: Lukas Stockner
Date: Sun Jan 10 00:24:12 2016 +0100
Branches: master
https://developer.blender.org/rB64df7a2b3848e71f56b3f5243e1352cd05ef70eb
Cycles: Read Wave texture profile in the XML parser
===================================================================
M intern/cycles/app/cycles_xml.cpp
===================================================================
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index edea8cd..b366e93 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")) {
More information about the Bf-blender-cvs
mailing list