Fix texture paint showing pink texture on load

temp-dna-rename
Campbell Barton 4 years ago
parent 6cc5c28d15
commit 05ebdc2b71

@ -1097,6 +1097,8 @@ void BKE_texpaint_slot_refresh_cache(Scene *scene, Material *ma)
if (!ma)
return;
DEG_id_tag_update(&ma->id, 0);
if (ma->texpaintslot) {
MEM_freeN(ma->texpaintslot);
ma->tot_slots = 0;

Loading…
Cancel
Save