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:
authorDaniel Dunbar <daniel@zuster.org>2005-04-10 04:00:34 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-04-10 04:00:34 +0400
commitb1675a345af475486e85756a5d18c8cf7243bacb (patch)
tree0d4dc9f7d01c7fff3fa814c125b5b6f4829aaacf /source/blender/src/drawobject.c
parentae91ba8ba6c08a734d588dc46a2ecded4459e3fd (diff)
- made shadedisplist not free all object displist data...
this messed with data caches which messed with assumptions made by drawing code (and was just silly not to mention). here be dragons...
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 309cc7b449e..fa4ac4773a6 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -1783,7 +1783,7 @@ static void draw_mesh_fancy(Object *ob, DerivedMesh *baseDM, DerivedMesh *realDM
dl = ob->disp.first;
if (!dl || !dl->col1) {
shadeDispList(ob);
- dl = ob->disp.first;
+ dl = find_displist(&ob->disp, DL_VERTCOL);
}
obCol1 = dl->col1;
obCol2 = dl->col2;