Blender Git Loki
Git Commits -> Revision 033a63f
Revision 033a63f by Campbell Barton (master) April 5, 2009, 14:01 (GMT) |
BGE Bugfixes (mostly in the py api) KX_PolygonMaterial and KX_BlenderMaterial - Added a print function (would raise a python error on printing) * Crashes * KX_GameObject SetParent - Disallowed setting a parent to its self, caused a recursion crash. KX_MeshProxy "materials" attribute was segfaulting because of my recent change - I was wrong, you do need to check material types (no idea why since they are both PyObject * at the base) KX_VisibilityActuator - Wasn't initialized with PyType_Ready() making it crash on access (own fault) * Crashes because of missing NULL checks * KX_PolygonMaterial's "gl_texture" attribute wasnt checking for a valid m_tface KX_GameObject - added checks for GetPhysicsController() KX_RayCast::RayTest - didnt check for a valid physics_environment KX_SceneActuator's getCamera python function wasnt checking if there was a camera. |
Commit Details:
Full Hash: 033a63f8580227582a9695ebdd78ac0b4322e867
SVN Revision: 19547
Parent Commit: 7d4dc4f
Lines Changed: +81, -28
9 Modified Paths:
/source/gameengine/Ketsji/KX_BlenderMaterial.h (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+26, -7) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+34, -17) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+5, -2) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_RayCast.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+6, -1) (Diff)
/source/gameengine/PyDoc/KX_GameObject.py (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+26, -7) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+34, -17) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+5, -2) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_RayCast.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+6, -1) (Diff)
/source/gameengine/PyDoc/KX_GameObject.py (+2, -0) (Diff)