Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / source / blender / nodes / shader / nodes / node_shader_invert.c
index 44d26bf..066ff14 100644 (file)
@@ -77,6 +77,7 @@ void register_node_type_sh_invert(ListBase *lb)
        static bNodeType ntype;
 
        node_type_base(&ntype, SH_NODE_INVERT, "Invert", NODE_CLASS_OP_COLOR, NODE_OPTIONS);
+       node_type_compatibility(&ntype, NODE_OLD_SHADING);
        node_type_socket_templates(&ntype, sh_node_invert_in, sh_node_invert_out);
        node_type_size(&ntype, 90, 80, 100);
        node_type_exec(&ntype, node_shader_exec_invert);