Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-01-18 00:46:34 +0300
committerDalai Felinto <dfelinto@gmail.com>2010-01-18 00:46:34 +0300
commit9356b1b7ee99d86853589a51dfe89c490b7d2a57 (patch)
treeb99ab650199fde1d26879421747462e8882d9409 /source/gameengine/Ketsji/KX_Camera.cpp
parent7d2b40c862de0bca8a12984f79771b0d68db392e (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/Ketsji/KX_Camera.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_Camera.cpp3
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();
}