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:
authorDalai Felinto <dfelinto@gmail.com>2011-12-02 20:57:37 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-12-02 20:57:37 +0400
commit4fd273648767a736f79acd3edc3d7f332129b46f (patch)
tree4f37b89622cd0e422c7b1579197b838ab852ce32 /intern/cycles/app
parentf96aad6688a695c692e9f784314d8eb4e169e6da (diff)
HSV Color Node for Cycles
......................... note, the OSL code has a problem. In the original node the input and output nodes have the same name (Color). So this will be fixed here once Brecht come up with a nice autorenaming (or we do a doversion patch) for that.
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 0bd0c48933d..00acae92955 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -446,6 +446,9 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug
else if(string_iequals(node.name(), "separate_rgb")) {
snode = new SeparateRGBNode();
}
+ else if(string_iequals(node.name(), "hsv")) {
+ snode = new HSVNode();
+ }
else if(string_iequals(node.name(), "attribute")) {
AttributeNode *attr = new AttributeNode();
xml_read_ustring(&attr->attribute, node, "attribute");