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>2003-12-24 19:18:13 +0300
committerTon Roosendaal <ton@blender.org>2003-12-24 19:18:13 +0300
commita7bed7804046f685533564cb7ee178f946c4e998 (patch)
tree61cd1b739c873e4945759ad3ed0d758400da7239 /source/blender/blenkernel
parentb3911687eef461bbdb2b25f88bb166a2ae119a19 (diff)
- fixed bug in shaded view mode (SHIFT+Z) when it tried to calculate
reflection normals... NULL pointer reference. (thanks Desoto!)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/displist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c
index c60a614bab8..a825b5adcb9 100644
--- a/source/blender/blenkernel/intern/displist.c
+++ b/source/blender/blenkernel/intern/displist.c
@@ -311,6 +311,7 @@ static void fastshade(float *co, float *nor, float *orco, Material *ma, char *co
shi.matren= ma->ren;
shi.vlr= NULL; // have to do this!
ma= shi.matren;
+ shi.osatex= 0; // also prevents reading vlr
if(ma->mode & MA_VERTEXCOLP) {
if(vertcol) {