From e144a05114428804fe4ab004adb6d5129e8f0634 Mon Sep 17 00:00:00 2001 From: Geoffrey Bantle Date: Tue, 7 Nov 2006 00:34:48 +0000 Subject: ->Commit of patch #5132: Separate by material This patch adds a new option to the separate menu in editmode, 'By Material'. It simply loops through all materials in the mesh selects the faces associated with them and calls separate(). Thanks to Andrea Weikert for the patch! --- source/blender/include/BIF_editmesh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/include/BIF_editmesh.h') diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index 8a1b480caaa..cbd0cf0704b 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -63,6 +63,7 @@ extern void undo_push_mesh(char *name); extern void separatemenu(void); extern void separate_mesh(void); extern void separate_mesh_loose(void); +extern void separate_material(void); /* ******************* editmesh_add.c */ extern void make_prim(int type, float imat[3][3], short tot, short seg, -- cgit v1.2.3