Blender Git Loki

Git Commits -> Revision 40fc1d2

Revision 40fc1d2 by Campbell Barton (master)
May 2, 2009, 15:09 (GMT)
BGE PyController module type.
- Added support for any number of attributes, this means packages are supported automatically.
so as well as "myModule.myFunc" you can do "myPackage.myModule.myFunc", nested packages work too.
- pass the controller to the python function as an argument for functions that take 1 arg, this check is only done at startup so it wont slow things down.

added support for

Commit Details:

Full Hash: 40fc1d2af74257ee45ae1b5bf7564b3b5768eb80
SVN Revision: 20030
Parent Commit: 41f4209
Lines Changed: +50, -13

2 Modified Paths:

/source/gameengine/GameLogic/SCA_PythonController.cpp (+48, -13) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021