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:
authorGeoffrey Bantle <hairbat@yahoo.com>2006-11-07 03:34:48 +0300
committerGeoffrey Bantle <hairbat@yahoo.com>2006-11-07 03:34:48 +0300
commite144a05114428804fe4ab004adb6d5129e8f0634 (patch)
treea73328b80abe4acb210bcffe5e802968a4e792c4 /source/blender/include/BIF_editmesh.h
parent2ef6c48a65b61a07b86b1b79c8abd578701079c7 (diff)
->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!
Diffstat (limited to 'source/blender/include/BIF_editmesh.h')
-rw-r--r--source/blender/include/BIF_editmesh.h1
1 files changed, 1 insertions, 0 deletions
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,