From 9ea9fc1f34a90a1db92199293b813319f78795d3 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 4 Aug 2022 20:10:56 +0200 Subject: Fix T100099: Cycles crash baking vertex colors in edit mode This was not supported, added now. --- source/blender/blenkernel/BKE_customdata.h | 1 + 1 file changed, 1 insertion(+) (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 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); -- cgit v1.2.3