diff options
author | Alexander Ewering <blender@instinctive.de> | 2005-06-11 21:57:34 +0400 |
---|---|---|
committer | Alexander Ewering <blender@instinctive.de> | 2005-06-11 21:57:34 +0400 |
commit | 70c9f9b319bc3b510cf7c1654835ab166e821ecb (patch) | |
tree | a38c8cb81569be725e4e0259658e4421bd5d1613 | |
parent | c91355f3b6f1be9fa0decc576926505c015c1285 (diff) |
Typo in fastshade() giving wrong colors for shadeless objects with
Vertex colours
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 15f6fe6db90..87aa3dc17b9 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -468,7 +468,7 @@ static void fastshade(float *co, float *nor, float *orco, Material *ma, char *co col1[3]= fac>=1.0?255:(char)fac; fac= vertcol[2]*shi.g; col1[2]= fac>=1.0?255:(char)fac; - fac= vertcol[2]*shi.b; + fac= vertcol[1]*shi.b; col1[1]= fac>=1.0?255:(char)fac; } else { |