Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-03-20 13:28:02 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-03-20 13:32:16 +0300
commit60ff803998360c8a83c3f740342c44124ec277ff (patch)
tree0a027645fc214e703d8487dc4027b5c80120d026 /source
parent46a391b668c19ea3053d117dea67386b13904f78 (diff)
Fix missing ID pointer handling in materials in ID remapping code.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/library_query.c3
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;
}