diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-04 21:10:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-04 21:14:50 +0300 |
commit | 9ea9fc1f34a90a1db92199293b813319f78795d3 (patch) | |
tree | ae055fe398c632c690fd14b9a036c125815d6585 /source/blender/blenkernel/BKE_customdata.h | |
parent | b29d6de77a61beb7cbb3bc1839658e8c4796d714 (diff) |
Fix T100099: Cycles crash baking vertex colors in edit mode
This was not supported, added now.
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 010fbb27172..6e27fd2d80f 100644 --- a/source/blender/blenkernel/BKE_customdata.h +++ b/source/blender/blenkernel/BKE_customdata.h @@ -408,6 +408,7 @@ void *CustomData_get_layer(const struct CustomData *data, int type); void *CustomData_get_layer_n(const struct CustomData *data, int type, int n); void *CustomData_get_layer_named(const struct CustomData *data, int type, const char *name); int CustomData_get_offset(const struct CustomData *data, int type); +int CustomData_get_offset_named(const CustomData *data, int type, const char *name); int CustomData_get_n_offset(const struct CustomData *data, int type, int n); int CustomData_get_layer_index(const struct CustomData *data, int type); |