diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-24 18:07:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-24 18:07:48 +0400 |
commit | a379fdd7fba460fdceb14d6dd164116d9a4744bd (patch) | |
tree | 95d52f2123602b3aa14ea698be22e52e5a80e6bb /source/blender/editors/mesh/editmesh.c | |
parent | 242d9c31d3316f99525925eb7da30522457064e8 (diff) |
2.5: Object material slot operators add/remove/assign/select/deselect.
Diffstat (limited to 'source/blender/editors/mesh/editmesh.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh.c b/source/blender/editors/mesh/editmesh.c index c05751feddc..7f5201f4704 100644 --- a/source/blender/editors/mesh/editmesh.c +++ b/source/blender/editors/mesh/editmesh.c @@ -1556,7 +1556,7 @@ static int mesh_separate_material(Scene *scene, Base *editbase) /* clear selection, we're going to use that to select material group */ EM_clear_flag_all(em, SELECT); /* select the material */ - editmesh_select_by_material(em, curr_mat); + EM_select_by_material(em, curr_mat); /* and now separate */ if(0==mesh_separate_selected(scene, editbase)) { BKE_mesh_end_editmesh(me, em); |