Blender Git Commit Log
Git Commits -> Revision 6c7c38a
Revision 6c7c38a by Campbell Barton (master) February 24, 2009, 05:50 (GMT) |
BGE Py API * Made GameLogic.addActiveActuator(actu, bool) to raise an error if the actuator is not in the list. Before it would allow any value as the actuator and fail silently (makes debugging scripts more difficult). * Allow the actuator to be a string which is convenient if you dont want to change the settings of the actuator. * Added activate/deactivate functions to the controller, this is more logical since the GameLogic.addActiveActuator() function is running through the controller anyway. GameLogic.addActiveActuator(controller.getActuator("SomeAct"), True) ...can be replaced with... controller.activate("SomeAct") |
Commit Details:
Full Hash: 6c7c38a4e4892677f8e7db2b41115209901a2d35
SVN Revision: 19099
Parent Commit: 394d893
Lines Changed: +86, -25
5 Modified Paths:
/source/gameengine/GameLogic/SCA_PythonController.cpp (+68, -23) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.h (+4, -0) (Diff)
/source/gameengine/PyDoc/GameLogic.py (+1, -1) (Diff)
/source/gameengine/PyDoc/KX_Scene.py (+2, -0) (Diff)
/source/gameengine/PyDoc/SCA_PythonController.py (+11, -1) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.h (+4, -0) (Diff)
/source/gameengine/PyDoc/GameLogic.py (+1, -1) (Diff)
/source/gameengine/PyDoc/KX_Scene.py (+2, -0) (Diff)
/source/gameengine/PyDoc/SCA_PythonController.py (+11, -1) (Diff)