diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-01-18 00:46:34 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-01-18 00:46:34 +0300 |
commit | 9356b1b7ee99d86853589a51dfe89c490b7d2a57 (patch) | |
tree | b99ab650199fde1d26879421747462e8882d9409 /source/gameengine | |
parent | 7d2b40c862de0bca8a12984f79771b0d68db392e (diff) |
BGE: Mouse Sensor type defaults to 1 (MOUSELEFT ) + remove camera attribute from Camera objects.
(if you want to mark your camera objects create a property manually ;)
That way object.getPropertyNames() works consistently across all object types.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_Camera.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp index 384125119a9..ce13b9912a8 100644 --- a/source/gameengine/Ketsji/KX_Camera.cpp +++ b/source/gameengine/Ketsji/KX_Camera.cpp @@ -57,9 +57,6 @@ KX_Camera::KX_Camera(void* sgReplicationInfo, m_name = "cam"; m_projection_matrix.setIdentity(); m_modelview_matrix.setIdentity(); - CValue* val = new CIntValue(1); - SetProperty("camera",val); - val->Release(); } |