blender/source/gameengine
Ines Almeida a088b9488d Recreating bge python modules instead of using existing
All of the initXPythonBinding functions are changed to always creating the module instead of importing if previously existing.
I can instead only remove the module return when the import is ok, so that it always inits. But then, I don't see the point in importing.

I make sure that these functions are called only once per run, inside initBGE.
This was not the case with GameTypes. I moved initPyTypes inside of initGameTypesPythonBinding due to that.

I reorganized initGamePlayerPythonScripting and initGamePythonScripting so that they run things in the same order.
initGamePlayerPythonScripting imports mathutils and aud, the other only aud. Shouldn't it be the same for both?

Reviewers: campbellbarton

Subscribers: sybren

Projects: #game_engine, #game_python

Differential Revision: https://developer.blender.org/D1070
2015-02-09 20:56:38 +00:00
..
BlenderRoutines Fix BGE compilation after recent renames in BKE_image (tsst...). 2015-01-24 14:57:57 +01:00
Converter Fix T43174: "Record animation" does not update fcurve handles 2015-01-09 15:29:47 +01:00
Expressions Freestyle: reserve array sizes before filling 2015-01-04 21:23:26 +11:00
GameLogic cleanup: style 2015-02-07 04:50:21 +11:00
GamePlayer Fix BGE compilation after recent renames in BKE_image (tsst...). 2015-01-24 14:57:57 +01:00
Ketsji Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
Network mathutils: refactor instantiation 2015-01-04 17:43:57 +11:00
Physics BGE physics: When colliding, report first contact point to Python 2015-02-08 15:52:13 +01:00
Rasterizer Ghost Context Refactor 2014-10-07 15:47:32 -05:00
SceneGraph Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
VideoTexture Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
CMakeLists.txt BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems. 2013-02-24 07:09:39 +00:00
SConscript BGE: Removing the source files for the PHY interfaces since they just contained virtual destructors. This means we had license and doc blocks for 3 lines of code, which seemed silly. This also means that ge_phys_common no longer needs to be built as a library. I tested this with CMake and SCons using GCC; hopefully this doesn't break other systems. 2013-02-24 07:09:39 +00:00