Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-07-25 13:19:23 +0400
committerTon Roosendaal <ton@blender.org>2005-07-25 13:19:23 +0400
commit1295ed872c3825013ef91dad1bb71cee34edb85d (patch)
tree5a90a529cdcc3c240b8f24d3fbbc2372aa234d10 /source/blender/blenkernel/intern/material.c
parent0a6ca24661717de8b2bd92e732144e0046eed681 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r--source/blender/blenkernel/intern/material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index d11c435f375..2bd2180cb24 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -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 */
}