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_customdata.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_customdata.h') diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h index 97491129755..d0535f1752e 100644 --- a/source/blender/blenkernel/BKE_customdata.h +++ b/source/blender/blenkernel/BKE_customdata.h @@ -185,6 +185,8 @@ int CustomData_get_layer_index(const struct CustomData *data, int type); int CustomData_get_named_layer_index(const struct CustomData *data, int type, char *name); int CustomData_get_active_layer_index(const struct CustomData *data, int type); int CustomData_get_render_layer_index(const struct CustomData *data, int type); +int CustomData_get_active_layer(const struct CustomData *data, int type); +int CustomData_get_render_layer(const struct CustomData *data, int type); /* copies the data from source to the data element at index in the first * layer of type -- cgit v1.2.3