Massive Code cleanup:
[blender-staging.git] / source / blender / nodes / shader / node_shader_util.c
index 5961c2b330b1c3eecf96577ffff6db9b117a8a97..9aa3c76e0a5e199cda4248a812c76293dff13f76 100644 (file)
@@ -88,7 +88,7 @@ void ntreeShaderGetTexcoMode(bNodeTree *ntree, int r_mode, short *texco, int *mo
                if (node->type==SH_NODE_TEXTURE) {
                        if ((r_mode & R_OSA) && node->id) {
                                Tex *tex= (Tex *)node->id;
-                               if (ELEM3(tex->type, TEX_IMAGE, TEX_PLUGIN, TEX_ENVMAP)) {
+                               if (ELEM(tex->type, TEX_IMAGE, TEX_ENVMAP)) {
                                        *texco |= TEXCO_OSA|NEED_UV;
                                }
                        }