Fixes for cycles Mapping and Vector Transform node:
[blender.git] / source / blender / nodes / shader / nodes / node_shader_tex_image.c
index 935c0c618c7b87516eb7e43a12843c8756c62455..1b705e12daf7bb11224faf17597767e94dd4d882 100644 (file)
@@ -45,7 +45,7 @@ static bNodeSocketTemplate sh_node_tex_image_out[] = {
 static void node_shader_init_tex_image(bNodeTree *UNUSED(ntree), bNode *node)
 {
        NodeTexImage *tex = MEM_callocN(sizeof(NodeTexImage), "NodeTexImage");
-       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->color_space = SHD_COLORSPACE_COLOR;
        tex->iuser.frames = 1;