forked from bartvdbraak/blender
a088b9488d
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 |
||
---|---|---|
.. | ||
BlendType.h | ||
blendVideoTex.cpp | ||
CMakeLists.txt | ||
Common.h | ||
Exception.cpp | ||
Exception.h | ||
FilterBase.cpp | ||
FilterBase.h | ||
FilterBlueScreen.cpp | ||
FilterBlueScreen.h | ||
FilterColor.cpp | ||
FilterColor.h | ||
FilterNormal.cpp | ||
FilterNormal.h | ||
FilterSource.cpp | ||
FilterSource.h | ||
ImageBase.cpp | ||
ImageBase.h | ||
ImageBuff.cpp | ||
ImageBuff.h | ||
ImageMix.cpp | ||
ImageMix.h | ||
ImageRender.cpp | ||
ImageRender.h | ||
ImageViewport.cpp | ||
ImageViewport.h | ||
PyTypeList.cpp | ||
PyTypeList.h | ||
SConscript | ||
Texture.cpp | ||
Texture.h | ||
VideoBase.cpp | ||
VideoBase.h | ||
VideoFFmpeg.cpp | ||
VideoFFmpeg.h |