BGE: bookmark option on controller to make them run before all other controllers.
[blender.git] / source / gameengine / GameLogic / SCA_IController.cpp
index f8b081ef050e3517c13338afefa8ff532facb70c..84a6bfb80858fd8018256ded40674f390d1ad3b3 100644 (file)
@@ -244,6 +244,7 @@ PyAttributeDef SCA_IController::Attributes[] = {
        KX_PYATTRIBUTE_RO_FUNCTION("state", SCA_IController, pyattr_get_state),
        KX_PYATTRIBUTE_RO_FUNCTION("sensors", SCA_IController, pyattr_get_sensors),
        KX_PYATTRIBUTE_RO_FUNCTION("actuators", SCA_IController, pyattr_get_actuators),
+       KX_PYATTRIBUTE_BOOL_RW("bookmark",SCA_IController,m_bookmark),
        { NULL }        //Sentinel
 };