Fixes for cycles Mapping and Vector Transform node:
[blender.git] / source / blender / nodes / shader / nodes / node_shader_tex_voronoi.c
index 5ace85506a675d88bc6cc74afcf2d07ab6abdda1..f75c05601aa2b33d0e15bbf4744e8d1f30dbe17e 100644 (file)
@@ -44,7 +44,7 @@ static bNodeSocketTemplate sh_node_tex_voronoi_out[] = {
 static void node_shader_init_tex_voronoi(bNodeTree *UNUSED(ntree), bNode *node)
 {
        NodeTexVoronoi *tex = MEM_callocN(sizeof(NodeTexVoronoi), "NodeTexVoronoi");
-       default_tex_mapping(&tex->base.tex_mapping, TEXMAP_TYPE_TEXTURE);
+       default_tex_mapping(&tex->base.tex_mapping, TEXMAP_TYPE_POINT);
        default_color_mapping(&tex->base.color_mapping);
        tex->coloring = SHD_VORONOI_INTENSITY;