diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2010-07-12 17:25:57 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2010-07-12 17:25:57 +0400 |
commit | 44c30fbbac3e73b0d1fcb132ee149f4f497637c3 (patch) | |
tree | 6492f974f17dbd163f874e63d044dd317c3b8f06 /source/gameengine/Ketsji | |
parent | b9e241d3e3750e3e86089253bfe91fbd02a873ea (diff) |
BGE bug #22760: VideoTexture not available when Blender is compiled without FFMPEG. VideoTexture can be used without FFMPEG, no need to disable it.
Diffstat (limited to 'source/gameengine/Ketsji')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index 5fe62a0e220..7327b9c08ff 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -1989,10 +1989,7 @@ void setupGamePython(KX_KetsjiEngine* ketsjiengine, KX_Scene* startscene, Main * initGeometry(); initBGL(); initBLF(); - -#ifdef WITH_FFMPEG initVideoTexture(); -#endif /* could be done a lot more nicely, but for now a quick way to get bge.* working */ PyRun_SimpleString("__import__('sys').modules['bge']=[mod for mod in (type(__builtins__)('bge'), ) if mod.__dict__.update({'logic':__import__('GameLogic'), 'render':__import__('Rasterizer'), 'events':__import__('GameKeys'), 'constraints':__import__('PhysicsConstraints'), 'types':__import__('GameTypes')}) is None][0]"); |