[Bf-blender-cvs] [52e6a6c5ef7] master: MakeLocal: switch back to secure, slightly slower final steps.

Bastien Montagne noreply at git.blender.org
Fri May 5 10:07:22 CEST 2017


Commit: 52e6a6c5ef79242568c22f9fd27a57a755cf2d4b
Author: Bastien Montagne
Date:   Fri May 5 09:52:31 2017 +0200
Branches: master
https://developer.blender.org/rB52e6a6c5ef79242568c22f9fd27a57a755cf2d4b

MakeLocal: switch back to secure, slightly slower final steps.

Again, Agent327's 04_01_H.lighting.blend shows some problem here, it
triggers several times the 'not used at all' assert in step 5 of secure
code, and with optimized version we lose the connection between
rigs and the main characters!

Will keep investigating on this, but for now let's try to give something
working to the studio.

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

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

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

diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index cde606734f7..3cf9acc237d 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -1948,7 +1948,7 @@ void BKE_library_make_local(
 
 	/* Note: Keeping both version of the code (old one being safer, since it still has checks against unused IDs)
 	 * for now, we can remove old one once it has been tested for some time in master... */
-#if 1
+#if 0
 	/* Step 5: proxy 'remapping' hack. */
 	for (LinkNode *it = copied_ids; it; it = it->next) {
 		/* Attempt to re-link copied proxy objects. This allows appending of an entire scene




More information about the Bf-blender-cvs mailing list