- switch to using DAG_object_flush_update instead of mesh_changed

- mesh drawing calculated derived surface before clipping to view matrix,
   waste for offscreen objects
This commit is contained in:
2005-07-14 17:10:44 +00:00
parent abbda3a8a1
commit aa454cd412
8 changed files with 27 additions and 17 deletions

View File

@@ -2347,7 +2347,7 @@ void flip_subdivison(Object *ob, int level)
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWOOPS, 0);
allqueue(REDRAWBUTSEDIT, 0);
mesh_changed(ob);
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
BIF_undo_push("Switch subsurf on/off");
}