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:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user