diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-24 02:33:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-24 02:33:03 +0300 |
commit | 1c6f41a27a2b05a4b7bb06773b41ef5097fe52c1 (patch) | |
tree | 7763e29164c545d1b6209e94070d7ba1cb0d57ab /source/blender/blenkernel/BKE_customdata.h | |
parent | a4a031e4345ed8f6773b99dd3be0b2f54585c816 (diff) |
Added CustomData_get_named_layer_index to customdata to get a layer index by name, only used in Mesh.c at the moment.
cleanup Mesh.c, updated the epydocs
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r-- | source/blender/blenkernel/BKE_customdata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h index ced210df984..73b1e02eb51 100644 --- a/source/blender/blenkernel/BKE_customdata.h +++ b/source/blender/blenkernel/BKE_customdata.h @@ -174,6 +174,7 @@ void *CustomData_get_layer(const struct CustomData *data, int type); void *CustomData_get_layer_n(const struct CustomData *data, int type, int n); 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); /* copies the data from source to the data element at index in the first |