diff options
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PythonController.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PythonController.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_PythonController.cpp b/source/gameengine/GameLogic/SCA_PythonController.cpp index e21916e060e..c9ecb412035 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.cpp +++ b/source/gameengine/GameLogic/SCA_PythonController.cpp @@ -183,8 +183,9 @@ PyMethodDef SCA_PythonController::Methods[] = { {"getSensors", (PyCFunction) SCA_PythonController::sPyGetSensors, METH_VARARGS, SCA_PythonController::GetSensors_doc}, {"getSensor", (PyCFunction) SCA_PythonController::sPyGetSensor, - METH_VARARGS, SCA_PythonController::GetSensor_doc} - , + METH_VARARGS, SCA_PythonController::GetSensor_doc}, + {"getScript", (PyCFunction) SCA_PythonController::sPyGetScript, METH_VARARGS}, + {"setScript", (PyCFunction) SCA_PythonController::sPySetScript, METH_VARARGS}, {NULL,NULL} //Sentinel }; |