blender/source/gameengine/VideoTexture
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
..
BlendType.h BGE: Making sure m_objType is initialized in the BlendType (VideoTexture) constructor. 2013-08-03 05:01:50 +00:00
blendVideoTex.cpp Recreating bge python modules instead of using existing 2015-02-09 20:56:38 +00:00
CMakeLists.txt Ghost Context Refactor 2014-10-07 15:47:32 -05:00
Common.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
Exception.cpp BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor. 2013-08-03 05:01:45 +00:00
Exception.h Code cleanup: doxy comments 2014-05-14 15:00:47 +10:00
FilterBase.cpp style cleanup 2013-03-29 06:21:28 +00:00
FilterBase.h style cleanup 2013-03-29 06:21:28 +00:00
FilterBlueScreen.cpp code cleanup: 2013-03-25 02:41:30 +00:00
FilterBlueScreen.h style cleanup 2013-03-29 06:21:28 +00:00
FilterColor.cpp style cleanup: 2013-03-26 07:29:01 +00:00
FilterColor.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
FilterNormal.cpp code cleanup: 2013-03-25 02:41:30 +00:00
FilterNormal.h style cleanup 2013-03-29 06:21:28 +00:00
FilterSource.cpp code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
FilterSource.h BGE: Making sure m_buffV, m_buffU, and m_pitchUV are initialized in the FilterYV12 constructor. 2013-08-03 05:01:40 +00:00
ImageBase.cpp missed last commit 2015-01-27 03:41:05 +11:00
ImageBase.h style cleanup 2013-03-29 06:21:28 +00:00
ImageBuff.cpp GSOC 2013 paint 2014-07-21 12:02:05 +02:00
ImageBuff.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
ImageMix.cpp style cleanup 2013-03-29 06:21:28 +00:00
ImageMix.h BGE: Making sure m_offset is initialized in the ImageSourceMix constructor. 2013-08-03 05:01:36 +00:00
ImageRender.cpp Revert "Fix T40257: Frustum culling not working properly" 2015-01-07 20:38:05 -08:00
ImageRender.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
ImageViewport.cpp Ghost Context Refactor 2014-10-07 15:47:32 -05:00
ImageViewport.h style cleanup: 2013-03-26 07:29:01 +00:00
PyTypeList.cpp style cleanup 2013-03-29 06:21:28 +00:00
PyTypeList.h code cleanup: gpl header update (formatting) 2012-11-18 00:30:06 +00:00
SConscript Ghost Context Refactor 2014-10-07 15:47:32 -05:00
Texture.cpp Ghost Context Refactor 2014-10-07 15:47:32 -05:00
Texture.h code cleanup: bge warnings 2013-04-04 23:16:23 +00:00
VideoBase.cpp style cleanup 2013-03-29 06:21:28 +00:00
VideoBase.h correction to previous warning cleanup, also quiet shadow-warning for thumbnail size 2013-04-05 00:10:33 +00:00
VideoFFmpeg.cpp BGE VideoTexture: refresh() on ImageFFmpeg should have no effect. 2014-12-04 23:55:53 +01:00
VideoFFmpeg.h BGE VideoTexture: refresh() on ImageFFmpeg should have no effect. 2014-12-04 23:55:53 +01:00