Fix #108266: sculpt auto created color attribute not set as render color #108271

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:108266 into blender-v3.6-release 2023-05-31 15:00:45 +02:00
1 changed files with 1 additions and 0 deletions

View File

@ -1936,6 +1936,7 @@ void BKE_sculpt_color_layer_create_if_needed(Object *object)
}
BKE_id_attributes_active_color_set(&orig_me->id, unique_name);
BKE_id_attributes_default_color_set(&orig_me->id, unique_name);
DEG_id_tag_update(&orig_me->id, ID_RECALC_GEOMETRY_ALL_MODES);
BKE_mesh_tessface_clear(orig_me);