From befc2bbc41ee7c8396f9acb781977b1af4915626 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 14 Jul 2005 15:48:01 +0000 Subject: - split makeDispList into makeDispList{Mesh,MBall,CurveTypes}, there is still a makeDispList that dispatches to the appropriate one. makeDispList is on the way out and this makes it easier to track down exactly which places use makedispList and for what types of objects. - switch calls to makeDispList to appropriate more specific function (if the object type is known by caller). - added mesh_changed function that invalidates cached mesh data (but does not rebuild, mesh data gets rebuilt on access). Most old calls to makeDispListMesh use this instead now. --- source/blender/src/editsima.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/src/editsima.c') diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index 8cb75c59050..96b9b1de3f7 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -761,7 +761,7 @@ void transform_tface_uv(int mode, int context) // 2 args, for callback G.moving= 0; prop_size*= 3; - makeDispList(OBACT); + mesh_changed(OBACT); allqueue(REDRAWVIEW3D, 0); if(event!=ESCKEY && event!=RIGHTMOUSE) -- cgit v1.2.3