Blender Git Loki

Git Commits -> Revision df8cf26

Revision df8cf26 by Campbell Barton (master)
April 17, 2009, 20:06 (GMT)
Added m_zombie to the base python class (PyObjectPlus), when this is set all the subclasses will raise an error on access to their members.

Other small changes...
- KX_Camera and KX_Light didnt have get/setitem access in their PyType definition.
- CList.from_id() error checking for a long was checking for -1 against an unsigned value (own fault)
- CValue::SpecialRelease was incrementing an int for no reason.
- renamed m_attrlist to m_attr_dict since its a PyDict type.
- removed custom getattro/setattro functions for KX_Scene and KX_GameObject, use py_base_getattro, py_base_setattro for all subclasses of PyObjectPlus.
- lowercase windows.h in VideoBase.cpp for cross compiling.

Commit Details:

Full Hash: df8cf26404c7e922751643b1095e38f1ab430811
SVN Revision: 19775
Parent Commit: 90c6cf7
Lines Changed: +233, -202

13 Modified Paths:

/source/gameengine/Expressions/ListValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+18, -2) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+53, -3) (Diff)
/source/gameengine/Expressions/Value.cpp (+7, -0) (Diff)
/source/gameengine/Expressions/Value.h (+4, -6) (Diff)
/source/gameengine/GameLogic/SCA_PropertyActuator.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+9, -13) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+67, -112) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+15, -11) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+3, -12) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+51, -17) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+3, -23) (Diff)
/source/gameengine/VideoTexture/VideoBase.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