diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-07 10:58:03 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-05-07 10:58:03 +0400 |
commit | 3ef11693f56429239771f8c043bf2fe2838a5fc7 (patch) | |
tree | cd7ca92447aa18c3a8ae328489463887246262b2 /source/blender/makesrna | |
parent | c7b20e79cdd055cb9f42d39764f868f0c48e60a2 (diff) |
Style cleanup: displist module
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index f58471797e4..7ed0304ebb4 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -105,7 +105,7 @@ Mesh *rna_Object_to_mesh(Object *ob, ReportList *reports, Scene *sce, int apply_ copycu->editnurb = tmpcu->editnurb; /* get updated display list, and convert to a mesh */ - makeDispListCurveTypes(sce, tmpobj, 0); + BKE_displist_make_curveTypes(sce, tmpobj, 0); copycu->editfont = NULL; copycu->editnurb = NULL; @@ -135,9 +135,9 @@ Mesh *rna_Object_to_mesh(Object *ob, ReportList *reports, Scene *sce, int apply_ if (render) { ListBase disp = {NULL, NULL}; - makeDispListMBall_forRender(sce, ob, &disp); + BKE_displist_make_mball_forRender(sce, ob, &disp); BKE_mesh_from_metaball(&disp, tmpmesh); - freedisplist(&disp); + BKE_displist_free(&disp); } else BKE_mesh_from_metaball(&ob->disp, tmpmesh); |