diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 09:09:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-25 09:25:49 +0300 |
commit | 05ebdc2b71ab45024467faf40897ebd2707a0d5c (patch) | |
tree | 9e4878c93410d6430e76252eccc5a8f760ac9dad /source/blender/blenkernel/intern | |
parent | 6cc5c28d15f45aee5c15d2560d9743d824d99ad3 (diff) |
Fix texture paint showing pink texture on load
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index fc03116de20..e8239deddd7 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -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; |