[Bf-blender-cvs] [9ff989e3f1] asset-engine: Fix missing removal of asset UUID from ID made local...

Bastien Montagne noreply at git.blender.org
Mon Mar 20 12:32:31 CET 2017


Commit: 9ff989e3f1c41e42458f68eaa3e07fc1d8de4a57
Author: Bastien Montagne
Date:   Mon Mar 20 12:31:51 2017 +0100
Branches: asset-engine
https://developer.blender.org/rB9ff989e3f1c41e42458f68eaa3e07fc1d8de4a57

Fix missing removal of asset UUID from ID made local...

===================================================================

M	source/blender/blenkernel/intern/library.c

===================================================================

diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index a8f48a831e..805a78a762 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -1672,6 +1672,7 @@ void id_clear_lib_data_ex(Main *bmain, ID *id, const bool id_in_mainlist)
 	id_fake_user_clear(id);
 
 	id->lib = NULL;
+	MEM_SAFE_FREE(id->uuid);
 	id->tag &= ~(LIB_TAG_INDIRECT | LIB_TAG_EXTERN);
 	if (id_in_mainlist)
 		new_id(which_libbase(bmain, GS(id->name)), id, NULL);




More information about the Bf-blender-cvs mailing list