Merge with trunk r41342
[blender-staging.git] / source / blender / nodes / shader / node_shader_util.c
index 3b0211a53ee73d43166ff22076b92f2a786296c5..c75fbc8d9232d06a8a026723e2e07dbd39eb6adb 100644 (file)
@@ -117,6 +117,8 @@ void ntreeShaderGetTexcoMode(bNodeTree *ntree, int r_mode, short *texco, int *mo
                                                        *texco |= TEXCO_NORM|NEED_UV; break;
                                                case GEOM_OUT_VCOL:
                                                        *texco |= NEED_UV; *mode |= MA_VERTEXCOL; break;
+                                               case GEOM_OUT_VCOL_ALPHA:
+                                                       *texco |= NEED_UV; *mode |= MA_VERTEXCOL; break;
                                        }
                                }
                        }