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:
authorCampbell Barton <ideasman42@gmail.com>2012-04-12 04:15:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-12 04:15:02 +0400
commit5aaf3ede76c91a062d09360301083b6f75a6a89f (patch)
tree4283c97a354f10b7ad24db9df97de023fb4e30a7 /source/gameengine
parentc8b19b7b7fee817e4c7934973c99040747be53c3 (diff)
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Converter/BL_ArmatureChannel.cpp4
-rw-r--r--source/gameengine/Ketsji/KX_Dome.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureChannel.cpp b/source/gameengine/Converter/BL_ArmatureChannel.cpp
index 80a9db4db83..f464d6c4b59 100644
--- a/source/gameengine/Converter/BL_ArmatureChannel.cpp
+++ b/source/gameengine/Converter/BL_ArmatureChannel.cpp
@@ -307,7 +307,7 @@ int BL_ArmatureChannel::py_attr_set_joint_rotation(void *self_v, const struct KX
float quat[4];
if (!PySequence_Check(value) || PySequence_Size(value) != 3) {
- PyErr_SetString(PyExc_AttributeError, "expected a sequence of [3] floats");
+ PyErr_SetString(PyExc_AttributeError, "expected a sequence of 3 floats");
return PY_SET_ATTR_FAIL;
}
for (int i=0; i<3; i++) {
@@ -315,7 +315,7 @@ int BL_ArmatureChannel::py_attr_set_joint_rotation(void *self_v, const struct KX
joints[i] = PyFloat_AsDouble(item);
Py_DECREF(item);
if (joints[i] == -1.0f && PyErr_Occurred()) {
- PyErr_SetString(PyExc_AttributeError, "expected a sequence of [3] floats");
+ PyErr_SetString(PyExc_AttributeError, "expected a sequence of 3 floats");
return PY_SET_ATTR_FAIL;
}
}
diff --git a/source/gameengine/Ketsji/KX_Dome.h b/source/gameengine/Ketsji/KX_Dome.h
index 921e55806dd..313d6fd1535 100644
--- a/source/gameengine/Ketsji/KX_Dome.h
+++ b/source/gameengine/Ketsji/KX_Dome.h
@@ -174,7 +174,7 @@ protected:
MT_Matrix4x4 m_projmat;
- MT_Matrix3x3 m_locRot [6];// the rotation matrix
+ MT_Matrix3x3 m_locRot[6]; // the rotation matrix
/// rendered scene
KX_Scene * m_scene;