Blender Git Loki

Git Commits -> Revision d257586

Revision d257586 by Campbell Barton (master)
May 14, 2009, 07:59 (GMT)
BGE Py API
scene.active_camera can now be set so you can more easily set the current camera from python scripts without using an actuator.
ConvertPythonToCamera utility function to get a camera from a python string or KX_Camera type.

Commit Details:

Full Hash: d257586fe6d59f9a7c622b460fbe38a168fb5428
SVN Revision: 20193
Parent Commit: d2cff73
Lines Changed: +121, -104

8 Modified Paths:

/source/gameengine/Ketsji/KX_Camera.cpp (+54, -0) (Diff)
/source/gameengine/Ketsji/KX_Camera.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+17, -4) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+22, -75) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.h (+1, -1) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+21, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021