- removed makeDispList, set_displist_onlyzero
[blender.git] / source / blender / blenkernel / intern / object.c
index 647a5bca76c26a469a8bccd33cb9f31de1ee8992..b46aa5ab67cfe0038ee05918f03236fcb2cc39d1 100644 (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... */