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.
This commit is contained in:
Campbell Barton
2012-04-07 12:37:15 +00:00
parent 6482351ed9
commit 8fa17c5362
18 changed files with 66 additions and 66 deletions

View File

@@ -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)
{

View File

@@ -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 {