Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / source / blender / nodes / shader / nodes / node_shader_mapping.c
index 7ec3095..36ac25d 100644 (file)
@@ -91,6 +91,7 @@ void register_node_type_sh_mapping(ListBase *lb)
        static bNodeType ntype;
        
        node_type_base(&ntype, SH_NODE_MAPPING, "Mapping", NODE_CLASS_OP_VECTOR, NODE_OPTIONS);
+       node_type_compatibility(&ntype, NODE_OLD_SHADING|NODE_NEW_SHADING);
        node_type_socket_templates(&ntype, sh_node_mapping_in, sh_node_mapping_out);
        node_type_size(&ntype, 240, 160, 320);
        node_type_init(&ntype, node_shader_init_mapping);