diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-17 22:33:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-11-17 22:33:25 +0300 |
commit | 1e5d5085675afd1c3d6e0191e668449217f733ed (patch) | |
tree | b18988f0f578b0a7bee871472398a6ef5ebf69f4 /source/blender/makesrna/intern/rna_object.c | |
parent | 7019c2bb7f9b8fd27e8f0cc5b72b262e2de584a9 (diff) |
Cleanup: Shapekey: get rid of `ED_vgroup_object_is_edit_mode()`
It was doing exactly the same thing as `BKE_object_is_in_editmode_vgroup()`, tsst...
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 8ebeeafbc58..e6714bbe433 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -1422,7 +1422,7 @@ static void rna_VertexGroup_vertex_add(ID *id, bDeformGroup *def, ReportList *re { Object *ob = (Object *)id; - if (ED_vgroup_object_is_edit_mode(ob)) { + if (BKE_object_is_in_editmode_vgroup(ob)) { BKE_report(reports, RPT_ERROR, "VertexGroup.add(): cannot be called while object is in edit mode"); return; } @@ -1437,7 +1437,7 @@ static void rna_VertexGroup_vertex_remove(ID *id, bDeformGroup *dg, ReportList * { Object *ob = (Object *)id; - if (ED_vgroup_object_is_edit_mode(ob)) { + if (BKE_object_is_in_editmode_vgroup(ob)) { BKE_report(reports, RPT_ERROR, "VertexGroup.remove(): cannot be called while object is in edit mode"); return; } |