Blender Git Loki
Git Commits -> Revision 49156ee
Revision 49156ee by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) September 17, 2015, 18:45 (GMT) |
Serious rework (again) of append/link code, to make it more generic. Making the code in WM area more generic (will be used by relocate libs feature too in future). And multi-append/link shall no more close & re-open lib files for each and every idcode! Also, serious cleanup of BLO_append_... API (renamed BLO_link_..., since it links and never appends!), main real changes there are removing the bContext arg in favor of scene/v3d (a bit more verbose, but does not requires a valid context anymore to be able to instanciate ob/groups!). And logic behind instanciating or not has been simplified, previous code was really obscure and sometimes redondant, from quick tests it still works as expected. This is temp branch for until 2.76 is over, shall be merged in master asap then. |
Commit Details:
Full Hash: 49156ee77b97a229365dbc51e1da9a29d290ea4b
Parent Commit: a9c5e1d
Lines Changed: +314, -228
6 Modified Paths:
/source/blender/blenkernel/intern/blender.c (+3, -3) (Diff)
/source/blender/blenloader/BLO_readfile.h (+24, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+98, -125) (Diff)
/source/blender/python/intern/bpy_library.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+183, -83) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+3, -3) (Diff)
/source/blender/blenloader/BLO_readfile.h (+24, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+98, -125) (Diff)
/source/blender/python/intern/bpy_library.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+183, -83) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+3, -3) (Diff)