- 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.
This commit is contained in:
Campbell Barton
2009-09-29 22:49:33 +00:00
parent 71b3088596
commit 8b6f5c171d
17 changed files with 27 additions and 62 deletions

View File

@@ -151,7 +151,7 @@ void SCA_PythonController::SetScriptName(const STR_String& name)
#ifndef DISABLE_PYTHON
void SCA_PythonController::SetDictionary(PyObject* pythondictionary)
void SCA_PythonController::SetNamespace(PyObject* pythondictionary)
{
if (m_pythondictionary)
{