- removed makeDispList, set_displist_onlyzero

- appropriate callers of makeDispList replaced with depgraph calls
 - unappropriate places just killed... small chance this gives some
   errors in corner cases if dep graph isn't notified (example, font
   family displists) but these can be tracked down as they show up.
 - still a large number of callers of makeDispListCurveTypes, but
   makeDispListMesh has just a few.
This commit is contained in:
2005-07-15 20:56:55 +00:00
parent 10d865df25
commit 8d2176bfeb
13 changed files with 33 additions and 106 deletions

View File

@@ -1777,10 +1777,13 @@ void object_handle_update(Object *ob)
// printf("recalcdata %s\n", ob->id.name+2);
/* includes all keys and modifiers */
if(ob->type==OB_MESH) {
mesh_changed(ob);
makeDispListMesh(ob);
}
else if(ob->type && ob->type<OB_LAMP) {
makeDispList(ob);
else if(ob->type==OB_MBALL) {
makeDispListMBall(ob);
}
else if(ELEM3(ob->type, OB_CURVE, OB_SURF, OB_FONT)) {
makeDispListCurveTypes(ob);
}
else if(ob->type==OB_ARMATURE) {
/* this actually only happens for reading old files... */