Blender Git Loki
Git Commits -> Revision c785532
Revision c785532 by Campbell Barton (master) February 26, 2009, 09:04 (GMT) |
Py BGE API Python dir(ob) for game types now includes attributes names, * Use "__dict__" rather then "__methods__" attribute to be Python 3.0 compatible * Added _getattr_dict() for getting the method and attribute names from a PyObject, rather then building it in the macro. * Added place holder *::Attribute array, needed for the _getattr_up macro. |
Commit Details:
Full Hash: c785532becca59aa2d1b3ae67784b7ac2b733ec2
SVN Revision: 19126
Parent Commit: 936a6ee
Lines Changed: +206, -29
47 Modified Paths:
/source/gameengine/Expressions/ListValue.cpp (+3, -1) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+30, -0) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+13, -24) (Diff)
/source/gameengine/Expressions/Value.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_ANDController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_IObject.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_NANDController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_NORController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_ORController.cpp (+5, -0) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_XNORController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_XORController.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/BL_Shader.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_CDActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_IpoActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_PolyProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_SoundActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_StateActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_VehicleWrapper.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_VertexProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_VisibilityActuator.cpp (+4, -0) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+30, -0) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+13, -24) (Diff)
/source/gameengine/Expressions/Value.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_ANDController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_IObject.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_NANDController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_NORController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_ORController.cpp (+5, -0) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+3, -0) (Diff)
/source/gameengine/GameLogic/SCA_XNORController.cpp (+4, -0) (Diff)
/source/gameengine/GameLogic/SCA_XORController.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/BL_Shader.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_CDActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_IpoActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_PolyProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_SoundActuator.cpp (+3, -1) (Diff)
/source/gameengine/Ketsji/KX_StateActuator.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_VehicleWrapper.cpp (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_VertexProxy.cpp (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_VisibilityActuator.cpp (+4, -0) (Diff)