Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-05-07 10:58:03 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-05-07 10:58:03 +0400
commit3ef11693f56429239771f8c043bf2fe2838a5fc7 (patch)
treecd7ca92447aa18c3a8ae328489463887246262b2 /source/blender/makesrna
parentc7b20e79cdd055cb9f42d39764f868f0c48e60a2 (diff)
Style cleanup: displist module
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c6
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);