[Bf-blender-cvs] [8e4066b] master: Switch to unsafe but quick freeing of archipelagos of linked data.
Bastien Montagne
noreply at git.blender.org
Fri Nov 11 23:18:10 CET 2016
Commit: 8e4066b9d335d9e38d0f77e3cf69cd7b8f03a606
Author: Bastien Montagne
Date: Fri Nov 11 18:58:00 2016 +0100
Branches: master
https://developer.blender.org/rB8e4066b9d335d9e38d0f77e3cf69cd7b8f03a606
Switch to unsafe but quick freeing of archipelagos of linked data.
This *should* work, but do not hesitate to revert in case it creates new
crashes in append or makelocal processes.
===================================================================
M source/blender/blenkernel/intern/library.c
===================================================================
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index fc87dad..8d7c7d8 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -1822,7 +1822,7 @@ void BKE_library_make_local(
* directly wipe them out without caring about clearing their usages.
* However, this is a highly-risky presumption, and nice crasher in case something goes wrong here.
* So for 2.78a will keep the safe option, and switch to more efficient one in master later. */
-#if 0
+#if 1
BKE_libblock_free_ex(bmain, id, false);
#else
BKE_libblock_unlink(bmain, id, false, false);
More information about the Bf-blender-cvs
mailing list