diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-30 02:49:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-30 02:49:33 +0400 |
commit | 8b6f5c171da4d9b165c5ba0628f0302430dbed2b (patch) | |
tree | 143760eb8bfb151e6bea7fc5fdaed0fafe221a49 /source/gameengine/Ketsji/KX_KetsjiEngine.h | |
parent | 71b3088596feb008e503be6430a30555aaffa586 (diff) |
- rather then passing the python namespace dictionary to the controller function get the namespace from the converter.
- renamed SetPythonDictionary() to SetPyNamespace()
- remove IsLight(), GetGameObjectType() existed before this but wasnt used for lights.
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.h b/source/gameengine/Ketsji/KX_KetsjiEngine.h index 9cfca850bf3..74d683fbad6 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.h +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.h @@ -204,7 +204,8 @@ public: void SetRenderTools(RAS_IRenderTools* rendertools); void SetRasterizer(RAS_IRasterizer* rasterizer); #ifndef DISABLE_PYTHON - void SetPythonDictionary(PyObject* pythondictionary); + void SetPyNamespace(PyObject* pythondictionary); + PyObject* GetPyNamespace(){return m_pythondictionary;}; #endif void SetSceneConverter(KX_ISceneConverter* sceneconverter); void SetGame2IpoMode(bool game2ipo,int startFrame); |