diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-18 23:39:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-18 23:39:25 +0400 |
commit | 78a20a930a7b3ae251374d433e0a9e8acf15ab65 (patch) | |
tree | f4c4095f5aba646181346a13fcda986c88f87a54 /source/blender/blenkernel/BKE_customdata.h | |
parent | 457824e437e5a7fd2e51886509c58d0f7afb0602 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r-- | source/blender/blenkernel/BKE_customdata.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |