diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-03-20 13:28:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-03-20 13:32:16 +0300 |
commit | 60ff803998360c8a83c3f740342c44124ec277ff (patch) | |
tree | 0a027645fc214e703d8487dc4027b5c80120d026 /source/blender | |
parent | 46a391b668c19ea3053d117dea67386b13904f78 (diff) |
Fix missing ID pointer handling in materials in ID remapping code.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/library_query.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index 8d92ddcb053..d59658a2a07 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -691,6 +691,9 @@ void BKE_library_foreach_ID_link(Main *bmain, ID *id, LibraryIDLinkCallback call library_foreach_ID_as_subdata_link((ID **)&material->nodetree, callback, user_data, flag, &data); } CALLBACK_INVOKE(material->group, IDWALK_CB_USER); + if (material->texpaintslot != NULL) { + CALLBACK_INVOKE(material->texpaintslot->ima, IDWALK_CB_NOP); + } break; } |