Cleanup: spelling in comments

This commit is contained in:
2021-08-09 22:55:12 +10:00
parent e2a411570e
commit 6deb37474e
7 changed files with 8 additions and 8 deletions

View File

@@ -155,7 +155,7 @@ void bpy_context_clear(bContext *UNUSED(C), const PyGILState_STATE *gilstate)
}
else if (py_call_level == 0) {
/* XXX: Calling classes currently won't store the context :\,
* can't set NULL because of this. but this is very flakey still. */
* can't set NULL because of this. but this is very flaky still. */
#if 0
BPY_context_set(NULL);
#endif

View File

@@ -227,7 +227,7 @@ static PyObject *bpy_user_map(PyObject *UNUSED(self), PyObject *args, PyObject *
}
if (!data_cb.is_subset &&
/* We do not want to pre-add keys of flitered out types. */
/* We do not want to pre-add keys of filtered out types. */
(key_types_bitmap == NULL || id_check_type(id, key_types_bitmap)) &&
/* We do not want to pre-add keys when we have filter on value types,
* but not on key types. */