diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:47:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 03:23:46 +0300 |
commit | cea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch) | |
tree | fa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/python | |
parent | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff) |
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_operator.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna_array.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c index ae42af7cd85..a86c2e3a35e 100644 --- a/source/blender/python/intern/bpy_operator.c +++ b/source/blender/python/intern/bpy_operator.c @@ -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); diff --git a/source/blender/python/intern/bpy_rna_array.c b/source/blender/python/intern/bpy_rna_array.c index 270c9ad431c..f3b1e357ebc 100644 --- a/source/blender/python/intern/bpy_rna_array.c +++ b/source/blender/python/intern/bpy_rna_array.c @@ -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, |