Fixes for cycles Mapping and Vector Transform node:
[blender.git] / source / blender / nodes / shader / nodes / node_shader_tex_wave.c
index a189d927673c44c0d16567e28e295c93db1eb5cc..be7df85fbeeb9f15913e064a80f423aade007f73 100644 (file)
@@ -47,7 +47,7 @@ static bNodeSocketTemplate sh_node_tex_wave_out[] = {
 static void node_shader_init_tex_wave(bNodeTree *UNUSED(ntree), bNode *node)
 {
        NodeTexWave *tex = MEM_callocN(sizeof(NodeTexWave), "NodeTexWave");
-       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->wave_type = SHD_WAVE_BANDS;