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/Converter
parentc8b19b7b7fee817e4c7934973c99040747be53c3 (diff)
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r--source/gameengine/Converter/BL_ArmatureChannel.cpp4
1 files changed, 2 insertions, 2 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;
}
}