Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-02-24 06:29:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-24 06:29:31 +0300
commit394d893e13257cb0fc5bec815e2111c12d5ed4ec (patch)
tree74794d9694eb3f6ac4b46f65f51996150fb53939 /source/gameengine/GameLogic/SCA_PythonController.h
parent334da0fa57195af65c2877ee2882714efe5431f9 (diff)
compile scripts when converting controllers to give more predictable performance and print syntax errors early on rather then when the script is first executed.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_PythonController.h')
-rw-r--r--source/gameengine/GameLogic/SCA_PythonController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_PythonController.h b/source/gameengine/GameLogic/SCA_PythonController.h
index 00c30d7f3d5..046ef1f7aed 100644
--- a/source/gameengine/GameLogic/SCA_PythonController.h
+++ b/source/gameengine/GameLogic/SCA_PythonController.h
@@ -70,6 +70,7 @@ class SCA_PythonController : public SCA_IController
void AddTriggeredSensor(class SCA_ISensor* sensor)
{ m_triggeredSensors.push_back(sensor); }
int IsTriggered(class SCA_ISensor* sensor);
+ bool Compile();
static const char* sPyGetCurrentController__doc__;
static PyObject* sPyGetCurrentController(PyObject* self);