Blender Git Commit Log

Git Commits -> Revision 18511c5

Revision 18511c5 by Campbell Barton (master)
April 7, 2009, 16:00 (GMT)
BGE Python API (small changes)
- Make BGE's ListValue types convert to python lists for printing since the CValue GetText() function didnt work well- printing lists as [,,,,,] for scene objects and mesh materials for eg.
- Check attributes are descriptor types before casting.
- py_getattr_dict use the Type dict rather then Method and Attribute array.

Commit Details:

Full Hash: 18511c56d3cbfd0b368be61002960cc161cee526
SVN Revision: 19582
Parent Commit: 1534eca
Lines Changed: +17, -19

5 Modified Paths:

/source/gameengine/Expressions/ListValue.h (+6, -0) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+3, -14) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+6, -3) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021