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:
authorCampbell Barton <ideasman42@gmail.com>2012-03-11 08:07:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-11 08:07:22 +0400
commit050439fd9dcf3b7e79bae1fd409364cb1220e598 (patch)
treeb59ed06999d7eb987fd0e161a831bf2cfa2eb688 /source/blender/bmesh/operators/bmo_mesh_conv.c
parent21fd09c028dce833f58cdaa8a1ff45876a5e5a2f (diff)
bmesh py api - correct class references in docs and rename mesh conversion funcs to ne less confusing.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_mesh_conv.c')
-rw-r--r--source/blender/bmesh/operators/bmo_mesh_conv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_mesh_conv.c b/source/blender/bmesh/operators/bmo_mesh_conv.c
index 3e0fc881bfa..651093806b6 100644
--- a/source/blender/bmesh/operators/bmo_mesh_conv.c
+++ b/source/blender/bmesh/operators/bmo_mesh_conv.c
@@ -57,7 +57,7 @@ void bmo_mesh_to_bmesh_exec(BMesh *bm, BMOperator *op)
Mesh *me = BMO_slot_ptr_get(op, "mesh");
int set_key = BMO_slot_bool_get(op, "set_shapekey");
- BM_mesh_to_bmesh(bm, me, set_key, ob->shapenr - 1);
+ BM_mesh_bm_from_me(bm, me, set_key, ob->shapenr - 1);
if (me->key && ob->shapenr > me->key->totkey) {
ob->shapenr = me->key->totkey - 1;
@@ -79,5 +79,5 @@ void bmo_bmesh_to_mesh_exec(BMesh *bm, BMOperator *op)
/* Object *ob = BMO_slot_ptr_get(op, "object"); */
int dotess = !BMO_slot_bool_get(op, "notessellation");
- BM_mesh_from_bmesh(bm, me, dotess);
+ BM_mesh_bm_to_me(bm, me, dotess);
}