diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-07 16:37:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-07 16:37:15 +0400 |
commit | 8fa17c5362a09d023bda999d4595f1762e5f52b9 (patch) | |
tree | 6d380e3f336e2740a24eead833501384df658fdd /source/blender/python | |
parent | 6482351ed9c3e022e02933709e4df1407a2ffbef (diff) |
code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_select.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index 4f3501944b0..c76c7d975e4 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -422,7 +422,7 @@ void BPy_BM_init_types_select(void) /* utility function */ /** - * \note doesnt actually check selection. + * \note doesn't actually check selection. */ int BPy_BMEditSel_Assign(BPy_BMesh *self, PyObject *value) { diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 53f9e46ba13..38ee3cf8f0a 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -2433,7 +2433,7 @@ static int pyrna_prop_collection_type_check(BPy_PropertyRNA *self, PyObject *val if (RNA_property_flag(self->prop) & PROP_NEVER_NULL) { PyErr_Format(PyExc_TypeError, "bpy_prop_collection[key] = value: invalid, " - "this collection doesnt support None assignment"); + "this collection doesn't support None assignment"); return -1; } else { |