Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-10 02:25:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-10 02:29:50 +0300
commitdc2cd2d0dcfdc2e10ccd1f06039390b6293e46ef (patch)
treeff83bb5a1175d3f8afc495825b34c557065035e2 /source/blender/python/intern/bpy_rna.c
parentf61a8a2abd07ee879f9bc860230e0dd3e6ee6a0c (diff)
Cleanup: clang-format, spelling
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r--source/blender/python/intern/bpy_rna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index d13393280d0..6c66097fe22 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -932,8 +932,8 @@ static PyObject *pyrna_struct_repr(BPy_StructRNA *self)
ID *real_id = NULL;
path = RNA_path_from_real_ID_to_struct(G_MAIN, &self->ptr, &real_id);
if (path != NULL) {
- /* real_id may be NULL in some cases, although the only valid one is evaluated data,
- * which should have been catched already above.
+ /* 'real_id' may be NULL in some cases, although the only valid one is evaluated data,
+ * which should have already been caught above.
* So assert, but handle it without crashing for release builds. */
BLI_assert(real_id != NULL);