Blender Git Commit Log

Git Commits -> Revision 7beff06

Revision 7beff06 by Mitchell Stokes (master)
October 7, 2012, 00:09 (GMT)
BGE: Committing patch [#31442] "API improvements: Group references python api, for better control over groups and instances" by Martin Sell (moerdn). This patch adds a member and a group property to KX_GameObject:
* KX_GameObject.member returns the list of group members if the object is a group object, otherwise None is returned
* KX_GameObject.group returns the group object that the object belongs to or None if the object is not part of a group

Commit Details:

Full Hash: 7beff06950a9811a9689ab2d04f8ca4d573d1436
SVN Revision: 51131
Parent Commit: e7db06a
Lines Changed: +140, -1

4 Modified Paths:

/doc/python_api/rst/bge.types.rst (+12, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+75, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+32, -0) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+21, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021