Cleanup: spelling in comments, C++ style comments for disabled code

Also ensure space at end of comment.
This commit is contained in:
2022-01-14 10:47:50 +11:00
parent 7a0cf2c72f
commit cea588b9ef
39 changed files with 79 additions and 70 deletions

View File

@@ -401,7 +401,7 @@ static PyObject *pyop_as_string(PyObject *UNUSED(self), PyObject *args)
return NULL;
}
/* WM_operator_properties_create(&ptr, opname); */
// WM_operator_properties_create(&ptr, opname);
/* Save another lookup */
RNA_pointer_create(NULL, ot->srna, NULL, &ptr);

View File

@@ -126,7 +126,7 @@ static int validate_array_type(PyObject *seq,
ok = 0;
}
else if ((item_seq_size = PySequence_Size(item)) == -1) {
/* BLI_snprintf(error_str, error_str_size, "expected a sequence of %s", item_type_str); */
// BLI_snprintf(error_str, error_str_size, "expected a sequence of %s", item_type_str);
PyErr_Format(PyExc_TypeError,
"%s expected a sequence of %s, not %s",
error_prefix,