- 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...
This commit is contained in:
2005-04-10 00:00:34 +00:00
parent ae91ba8ba6
commit b1675a345a
3 changed files with 7 additions and 8 deletions

View File

@@ -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;