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
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-11-11 20:58:00 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-11-12 01:17:52 +0300
commit8e4066b9d335d9e38d0f77e3cf69cd7b8f03a606 (patch)
treed6674b0d461a776bcada4576bf3020ef3d82f637 /source/blender/blenkernel/intern/library.c
parent674c3bf89480a3278b3637d1dcfe37532f00711e (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r--source/blender/blenkernel/intern/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index fc87dade891..8d7c7d81bd4 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);