Blender Git Loki

Git Commits -> Revision 785b784

Revision 785b784 by Campbell Barton (master)
April 22, 2009, 09:47 (GMT)
BGE Python API
improved how attribute errors are set so each classes py_getattro function dosnt need to set an error if the attribute doesn't exist.
Now py_base_getattro sets an error on a NULL return value when no errors are set to avoid setting errors at multiple levels.

Commit Details:

Full Hash: 785b784e0903f4cc04889a0790f15f6b01b7860b
SVN Revision: 19867
Parent Commit: 9503804
Lines Changed: +25, -13

3 Modified Paths:

/source/gameengine/Expressions/PyObjectPlus.cpp (+19, -7) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+5, -5) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021