Cycles: svn merge -r41467:41531 ^/trunk/blender
[blender-staging.git] / source / blender / nodes / shader / nodes / node_shader_geom.c
index dedc25092c1c3951212a4b2ded1b59dc1445ec91..88fbdc99f821312d1344de8bb965feba0fd9bdcc 100644 (file)
@@ -138,7 +138,8 @@ void register_node_type_sh_geom(ListBase *lb)
 {
        static bNodeType ntype;
 
-       node_type_base(&ntype, SH_NODE_GEOMETRY, "Geometry", NODE_CLASS_INPUT, NODE_OPTIONS);
+       node_type_base(&ntype, SH_NODE_GEOM, "Geometry", NODE_CLASS_INPUT, NODE_OPTIONS);
+       node_type_compatibility(&ntype, NODE_OLD_SHADING);
        node_type_compatibility(&ntype, NODE_OLD_SHADING);
        node_type_socket_templates(&ntype, NULL, sh_node_geom_out);
        node_type_size(&ntype, 120, 80, 160);