Blender Git Commit Log

Git Commits -> Revision dee32d0

Revision dee32d0 by Campbell Barton (master)
April 20, 2009, 09:13 (GMT)
BGE Python API
- initialize pythons sys.argv in the blenderplayer
- ignore all arguments after a single " - " in the blenderplayer (like in blender), so args can be passed to the game.
- add a utility function PyOrientationTo() - to take a Py euler, quat or 3x3 matrix and convert into a C++ MT_Matrix3x3.
- add utility function ConvertPythonToMesh to get a RAS_MeshObject from a KX_MeshProxy or a name.
- Added error prefix arguments to ConvertPythonToGameObject, ConvertPythonToMesh and PyOrientationTo so the error messages can include what function they came from.
- deprecated brick.getOwner() for the "owner" attribute.

Commit Details:

Full Hash: dee32d0b3f409007f5a392668068b92c3810026a
SVN Revision: 19809
Parent Commit: 9078ce5
Lines Changed: +215, -171

23 Modified Paths:

/source/gameengine/GameLogic/SCA_ILogicBrick.cpp (+17, -3) (Diff)
/source/gameengine/GameLogic/SCA_ILogicBrick.h (+2, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+6, -2) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.h (+5, -1) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+11, -2) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+23, -67) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+55, -0) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_PyMath.cpp (+34, -0) (Diff)
/source/gameengine/Ketsji/KX_PyMath.h (+2, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+5, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+10, -31) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_SoundActuator.cpp (+8, -42) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_VehicleWrapper.cpp (+3, -2) (Diff)
/source/gameengine/PyDoc/KX_VehicleWrapper.py (+14, -6) (Diff)
/source/gameengine/PyDoc/SCA_ILogicBrick.py (+5, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021