Invert Color Cycles Node
[blender.git] / intern / cycles / app / cycles_xml.cpp
index 7cd190f877d3c27a817d938a7958b72c152d407f..530a4ad14d88c9ae792c869f3ddc265ed0f7c4e6 100644 (file)
@@ -435,6 +435,9 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug
                else if(string_iequals(node.name(), "add_closure")) {
                        snode = new AddClosureNode();
                }
+               else if(string_iequals(node.name(), "invert")) {
+                       snode = new InvertNode();
+               }
                else if(string_iequals(node.name(), "mix")) {
                        MixNode *mix = new MixNode();
                        xml_read_enum(&mix->type, MixNode::type_enum, node, "type");