diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-11 01:17:40 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-11 01:17:40 +0300 |
commit | 773824bbea5aeedfaa953f2d88359e91ed93186c (patch) | |
tree | 1978850eed74306d97025175d5fd93131b53a1c3 /source/gameengine/VideoTexture/ImageRender.cpp | |
parent | 3c698645400cfd4204e32656b8fa994a853c722d (diff) |
VideoTexture: support VideoTexture in blenderplayer
Diffstat (limited to 'source/gameengine/VideoTexture/ImageRender.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/ImageRender.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/gameengine/VideoTexture/ImageRender.cpp b/source/gameengine/VideoTexture/ImageRender.cpp index 2f2d9debd48..a8f7871fa21 100644 --- a/source/gameengine/VideoTexture/ImageRender.cpp +++ b/source/gameengine/VideoTexture/ImageRender.cpp @@ -38,6 +38,11 @@ http://www.gnu.org/copyleft/lesser.txt. #include "BlendType.h" #include "Exception.h" +ExceptionID SceneInvalid, CameraInvalid; +ExpDesc SceneInvalidDesc (SceneInvalid, "Scene object is invalid"); +ExpDesc CameraInvalidDesc (CameraInvalid, "Camera object is invalid"); + +#if 0 // not yet supported // constructor ImageRender::ImageRender (KX_Scene * scene, KX_Camera * camera) : m_scene(scene), @@ -124,10 +129,6 @@ BlendType<KX_Scene> sceneType ("KX_Scene"); BlendType<KX_Camera> cameraType ("KX_Camera"); -ExceptionID SceneInvalid, CameraInvalid; -ExpDesc SceneInvalidDesc (SceneInvalid, "Scene object is invalid"); -ExpDesc CameraInvalidDesc (CameraInvalid, "Camera object is invalid"); - // object initialization static int ImageRender_init (PyObject * pySelf, PyObject * args, PyObject * kwds) { @@ -263,3 +264,4 @@ PyTypeObject ImageRenderType = }; +#endif // #if 0 |