diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-09 14:55:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-09 14:55:41 +0400 |
commit | 98969c64ff69d8a35bd9a3dff7bc48cf40f1175e (patch) | |
tree | cda5ebc6c8060593f6397182095fd2e674f5a97b /source/blender/python/bmesh/bmesh_py_types_meshdata.c | |
parent | 0966a3b191f124eb2fd7a7241c860feaad65ef7a (diff) |
code cleanup: move sequencer timecode into its own func.
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_meshdata.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c index aa78dc64f6b..b2cc0d73481 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c @@ -432,7 +432,7 @@ static int bpy_bmdeformvert_ass_subscript(BPy_BMDeformVert *self, PyObject *key, /* dvert[group_index] = 0.5 */ if (i < 0) { PyErr_SetString(PyExc_KeyError, "BMDeformVert[key] = x: " - "weight keys can't be negative"); + "weight keys can't be negative"); return -1; } else { @@ -440,8 +440,8 @@ static int bpy_bmdeformvert_ass_subscript(BPy_BMDeformVert *self, PyObject *key, const float f = PyFloat_AsDouble(value); if (f == -1 && PyErr_Occurred()) { // parsed key not a number PyErr_SetString(PyExc_TypeError, - "BMDeformVert[key] = x: " - "argument not a number"); + "BMDeformVert[key] = x: " + "argument not a number"); return -1; } @@ -496,7 +496,7 @@ static PySequenceMethods bpy_bmdeformvert_as_sequence = { NULL, /* sq_slice */ NULL, /* sq_ass_item */ NULL, /* *was* sq_ass_slice */ - (objobjproc)bpy_bmdeformvert_contains, /* sq_contains */ + (objobjproc)bpy_bmdeformvert_contains, /* sq_contains */ (binaryfunc) NULL, /* sq_inplace_concat */ (ssizeargfunc) NULL, /* sq_inplace_repeat */ }; |