Fix #105168: Entering vertexpaint creates a non-default color attribute #105169

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:105168 into blender-v3.5-release 2023-02-24 13:19:22 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -511,6 +511,7 @@ bool ED_mesh_color_ensure(Mesh *me, const char *name)
}
BKE_id_attributes_active_color_set(&me->id, unique_name);
BKE_id_attributes_default_color_set(&me->id, unique_name);
BKE_mesh_tessface_clear(me);
DEG_id_tag_update(&me->id, 0);