Blender Git Commit Log

Git Commits -> Revision 9a40f4d

Revision 9a40f4d by Benoit Bolsee (master)
May 17, 2009, 21:50 (GMT)
BGE: bookmark option on controller to make them run before all other controllers.

A new bookmark button is available on the controller UI.
When set, the controller is guaranteed to execute before all
other non-bookmarked controllers, provided it is scheduled
for execution.

This is useful for initialization scripts that run once at startup or
scripts that must set some prerequisite for the other controllers at
the start of each logic frame.

This feature is also available at python level with the "bookmark"
attribute. It can be changed during the game.

Note that if several script are bookmarked, their relative order of
execution is not guaranteed. Make sure they don't depend on each other.

Commit Details:

Full Hash: 9a40f4d2a63183edb741bd5280b27aa068773d92
SVN Revision: 20245
Parent Commit: 9ce8a67
Lines Changed: +43, -8

9 Modified Paths:

/source/blender/makesdna/DNA_controller_types.h (+1, -0) (Diff)
/source/blender/src/buttons_logic.c (+3, -2) (Diff)
/source/gameengine/Converter/KX_ConvertControllers.cpp (+1, -0) (Diff)
/source/gameengine/GameLogic/SCA_IController.cpp (+1, -0) (Diff)
/source/gameengine/GameLogic/SCA_IController.h (+15, -3) (Diff)
/source/gameengine/GameLogic/SCA_IObject.cpp (+1, -2) (Diff)
/source/gameengine/GameLogic/SCA_IObject.h (+6, -1) (Diff)
/source/gameengine/Ketsji/KX_StateActuator.h (+11, -0) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021