diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 09:59:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 09:59:48 +0400 |
commit | 37e73aa368d7f3cd855fab0812673b484ee4f4e9 (patch) | |
tree | 31e960dafb0e5a8034b2f31e6e6e33b5828ea30e /source/blender/editors/object/object_vgroup.c | |
parent | 77da6b3662847c78c867b488d2fae0f37aabdf7b (diff) |
code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and BKE_editmesh_bvh.h
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 487a8ad4bc0..38a26447cb0 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -109,7 +109,7 @@ static Lattice *vgroup_edit_lattice(Object *ob) bool ED_vgroup_object_is_edit_mode(Object *ob) { if (ob->type == OB_MESH) - return (BMEdit_FromObject(ob) != NULL); + return (BKE_editmesh_from_object(ob) != NULL); else if (ob->type == OB_LATTICE) return (((Lattice *)ob->data)->editlatt != NULL); @@ -1662,7 +1662,7 @@ static void vgroup_blend(Object *ob, const float fac) if (BLI_findlink(&ob->defbase, def_nr)) { const float ifac = 1.0f - fac; - BMEditMesh *em = BMEdit_FromObject(ob); + BMEditMesh *em = BKE_editmesh_from_object(ob); BMesh *bm = em ? em->bm : NULL; Mesh *me = em ? NULL : ob->data; @@ -2446,7 +2446,7 @@ static void vgroup_delete_edit_mode(Object *ob, bDeformGroup *dg) static bool vgroup_object_in_edit_mode(Object *ob) { if (ob->type == OB_MESH) - return (BMEdit_FromObject(ob) != NULL); + return (BKE_editmesh_from_object(ob) != NULL); else if (ob->type == OB_LATTICE) return (((Lattice *)ob->data)->editlatt != NULL); @@ -3502,7 +3502,7 @@ static int vgroup_do_remap(Object *ob, const char *name_array, wmOperator *op) if (ob->mode == OB_MODE_EDIT) { if (ob->type == OB_MESH) { - BMEditMesh *em = BMEdit_FromObject(ob); + BMEditMesh *em = BKE_editmesh_from_object(ob); BMIter iter; BMVert *eve; |