diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-14 19:48:01 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-14 19:48:01 +0400 |
commit | befc2bbc41ee7c8396f9acb781977b1af4915626 (patch) | |
tree | 79b88a72113f8f75988896782b0d25502c88a369 /source/blender/python/api2_2x/Library.c | |
parent | 1261dc7e4ede3169d2a959a10ee428e492eddfeb (diff) |
- 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.
Diffstat (limited to 'source/blender/python/api2_2x/Library.c')
-rw-r--r-- | source/blender/python/api2_2x/Library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Library.c b/source/blender/python/api2_2x/Library.c index 0b72b732d25..b75b77b4a04 100644 --- a/source/blender/python/api2_2x/Library.c +++ b/source/blender/python/api2_2x/Library.c @@ -355,7 +355,7 @@ PyObject *M_Library_Update( PyObject * self ) } else { if( ob->type == OB_MESH && ob->parent && ob->parent->type == OB_LATTICE ) - makeDispList( ob ); + makeDispListMesh( ob ); } ob = ob->id.next; |