Blender Git Commit Log

Git Commits -> Revision c9c5177

Revision c9c5177 by Mitchell Stokes (master)
July 16, 2011, 05:25 (GMT)
BGE Animations: Some updates to the Python api:
* Adding methods KX_GameObject.stopAction() and KX_GameObject.isPlayingAction().
* Made all layer arguments optional. This means I had to change setActionFrame(layer, frame) to setActionFrame(frame, layer=0). This seems a little backwards to me, but I guess that's what you get with optional arguments. Also, this will break existing scripts.
* Made sure to check user supplied layer values on all action methods. Previously this was only done for playAction().
* Fixed a few newline issues.

Commit Details:

Full Hash: c9c51776ee08827f7d6c7b8b4d671a4660c32b64
SVN Revision: 38424
Parent Commit: 04e028a
Lines Changed: +58, -14

2 Modified Paths:

/source/gameengine/Ketsji/KX_GameObject.cpp (+56, -14) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021