compile scripts when converting controllers to give more predictable performance and print syntax errors early on rather then when the script is first executed.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user