Blender Git Commit Log

Git Commits -> Revision c78b460

Revision c78b460 by Campbell Barton (master)
March 24, 2009, 19:37 (GMT)
Use Benoits attributes in KX_GameObject.

Deprecated..
getPosition, setPosition, getOrientation, setOrientation, getState, setState, getParent, getVisible, getMass

* swapped set/get to get/set in KX_PYATTRIBUTE_RW_FUNCTION macro to match pythons getsetattrs.
* deprecation warnings in the api and notes in epydocs.
* added 'state' attribute
* gameob.mass = 10 # now works because its not checking only for float values.
* dir(gameob) # includes attributes now

Commit Details:

Full Hash: c78b460fce4b1da228bd60809e281eea358cf2c9
SVN Revision: 19401
Parent Commit: 5d48e04
Lines Changed: +262, -168

4 Modified Paths:

/source/gameengine/Expressions/PyObjectPlus.h (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+225, -155) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+20, -0) (Diff)
/source/gameengine/PyDoc/KX_GameObject.py (+15, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021