Refactor remapping's pre/post process of special cases.
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Jul 2016 11:22:54 +0000 (13:22 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 8 Jul 2016 16:11:20 +0000 (18:11 +0200)
commit71f5df9f44dd6dfd125d6ea7f7f6542e6f9e7faa
tree448e56ec454f01fbde8ef9837fe89e4e8485ec1e
parent3b7bce42d7096d840c4cbdb6c4b98310cfe551ef
Refactor remapping's pre/post process of special cases.

Main issue was that BKE_libblock_relink_ex was pretty much ignoring all those...
Also, unlinking of objects was not handling correctly indirect-related flags.

Refactored code into helper functions to avoid too much duplicated code.
source/blender/blenkernel/BKE_library_remap.h
source/blender/blenkernel/intern/library_remap.c
source/blender/editors/render/render_preview.c