From 78a20a930a7b3ae251374d433e0a9e8acf15ab65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 18 Sep 2007 19:39:25 +0000 Subject: fixed copy between UV layers. made the UV layer menu a generic functions (can make a menu from the names of any custimdata layer type) added a menu in the UV window for selecting teh editnmode UV layer - If there ends up not being enough room in the header this may need to be removed. --- source/blender/blenkernel/BKE_mesh.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/BKE_mesh.h') diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 9757d3e6ac1..e9fd059f833 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -110,6 +110,14 @@ UvVertMap *make_uv_vert_map(struct MFace *mface, struct MTFace *tface, unsigned UvMapVert *get_uv_map_vert(UvVertMap *vmap, unsigned int v); void free_uv_vert_map(UvVertMap *vmap); + +/* functions for making menu's from customdata layers */ +int mesh_layers_menu_charlen(struct CustomData *data, int type); /* use this to work out how many chars to allocate */ +void mesh_layers_menu_concat(struct CustomData *data, int type, char *str); +int mesh_layers_menu(struct CustomData *data, int type); + + + #ifdef __cplusplus } #endif -- cgit v1.2.3