Regression file teapot.blend didn't render... this due to a hack removal of

a month ago (trying to cope with vertexcolor 'paint' and 'light'.)
Forgot to add the correct check for calculaing UV texture coords, needed to
have vertexcolor 'paint' working.
This commit is contained in:
Ton Roosendaal
2005-07-25 09:19:23 +00:00
parent 0a6ca24661
commit 1295ed872c

View File

@@ -566,7 +566,7 @@ void init_render_material(Material *ma)
if(ma->mode & MA_RADIO) needuv= 1;
if(ma->mode & (MA_VERTEXCOL|MA_FACETEXTURE)) {
if(ma->mode & (MA_VERTEXCOL|MA_VERTEXCOLP|MA_FACETEXTURE)) {
needuv= 1;
if(R.osa) ma->texco |= TEXCO_OSA; /* for texfaces */
}