Blender Git Loki
Git Commits -> Revision ad44317
Revision ad44317 by Mitchell Stokes (soc-2012-swiss_cheese) May 22, 2012, 05:18 (GMT) |
Adding the start to an async option for bge.logic.LibLoad(). The basic threading works, but there are still some issues that need to be addressed: * Memory leaks when canceling a thread. I'll try to fix these with more cleanup callbacks like the one used in async_convert(). * The user has no way of knowing when an asset has been loaded. I'm thinking some sort of Future object would work here. * Only works for scenes. It will be simple to support Mesh and Action as well, but I want to do it in a such a way as to minimize code duplication. |
Commit Details:
Full Hash: ad4431738444a369bf33dc364f564665ccb048d5
SVN Revision: 46864
Parent Commit: adcb8fa
Lines Changed: +116, -9
5 Modified Paths:
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+95, -5) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.h (+9, -0) (Diff)
/source/gameengine/Ketsji/KX_ISceneConverter.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+7, -4) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.h (+9, -0) (Diff)
/source/gameengine/Ketsji/KX_ISceneConverter.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+7, -4) (Diff)