diff options
Diffstat (limited to 'source/gameengine/SceneGraph/SG_IObject.h')
-rw-r--r-- | source/gameengine/SceneGraph/SG_IObject.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source/gameengine/SceneGraph/SG_IObject.h b/source/gameengine/SceneGraph/SG_IObject.h index 26e317bdcd9..8c0159fe8d4 100644 --- a/source/gameengine/SceneGraph/SG_IObject.h +++ b/source/gameengine/SceneGraph/SG_IObject.h @@ -49,6 +49,7 @@ enum SG_Stage SG_STAGE_CONTROLLER_UPDATE, SG_STAGE_ACTUATOR, SG_STAGE_ACTUATOR_UPDATE, + SG_STAGE_ANIMATION_UPDATE, SG_STAGE_PHYSICS2, SG_STAGE_PHYSICS2_UPDATE, SG_STAGE_SCENE, @@ -180,10 +181,20 @@ public: SG_Controller* cont ); + /** + * Remove a pointer to a controller from this node. + * This does not delete the controller itself! Be careful to + * avoid memory leaks. + */ + void + RemoveSGController( + SG_Controller* cont + ); + /** * Clear the array of pointers to controllers associated with * this node. This does not delete the controllers themselves! - * This should be used very carefully to avoid memory + * This should be used very carefully to avoid memory * leaks. */ |