BGE: Committing patch [#31442] "API improvements: Group references python api, for...
authorMitchell Stokes <mogurijin@gmail.com>
Sun, 7 Oct 2012 00:09:02 +0000 (00:09 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Sun, 7 Oct 2012 00:09:02 +0000 (00:09 +0000)
commit7beff06950a9811a9689ab2d04f8ca4d573d1436
tree28c1d83d556c4af2fa1adece16c15f544bcccaa4
parente7db06ad9db5a1a05b00fc835038d4366d637851
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
doc/python_api/rst/bge.types.rst
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_GameObject.h
source/gameengine/Ketsji/KX_Scene.cpp