diff options
author | Jacques Lucke <jacques@blender.org> | 2022-04-21 10:37:20 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-04-21 10:37:20 +0300 |
commit | 4d9ddb4a774dc214d99c44457abb7a14c9686c27 (patch) | |
tree | a7188144e4e7b79e202dca16976bd36038e30bcc /source/blender/editors/mesh | |
parent | 7a943428de7b586ddc93b0d3a95cf9f4df7d1249 (diff) |
Cleanup: clang format
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 9b069aae7e3..d11f0b490c1 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -431,7 +431,8 @@ bool ED_mesh_color_ensure(struct Mesh *me, const char *name) CustomDataLayer *layer = BKE_id_attributes_active_color_get(&me->id); if (!layer) { - CustomData_add_layer_named(&me->ldata, CD_PROP_BYTE_COLOR, CD_DEFAULT, NULL, me->totloop, name); + CustomData_add_layer_named( + &me->ldata, CD_PROP_BYTE_COLOR, CD_DEFAULT, NULL, me->totloop, name); layer = me->ldata.layers + CustomData_get_layer_index(&me->ldata, CD_PROP_BYTE_COLOR); BKE_id_attributes_active_color_set(&me->id, layer); |