Go to file
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
build_files Fix for scons + mingw64 warning flags fix 2015-02-06 23:51:31 +13:00
doc BGE physics: When colliding, report first contact point to Python 2015-02-08 15:52:13 +01:00
extern cleanup: shebang lines 2015-01-29 15:56:23 +11:00
intern Cycles: Another attempt to solve 32bit CUDA kernel 2015-02-09 16:14:44 +05:00
release Fix for mask modifier invert UI missing 2015-02-08 16:30:27 +11:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
tests Add extra Cycles regression tests 2015-02-02 02:02:10 +05:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Some tweaks to support upcoming OSL-1.6 2015-02-06 14:57:32 +05:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Force phony targets to build (even if file exists) 2014-12-20 02:15:14 +01:00
SConstruct Cycles: Add fast math function module 2015-01-31 01:49:41 +05:00