diff options
author | Hans Goudey <h.goudey@me.com> | 2021-03-25 00:46:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-03-25 00:46:39 +0300 |
commit | 4ea3d249301003e5d823bddce2962c81274556d8 (patch) | |
tree | f11e69df04d82d6e7477c38447d425205bf1f755 /source/blender/python/intern/bpy_rna.c | |
parent | 2495c0c53929d0480cfb6ae81502d79636a656b8 (diff) | |
parent | 9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (diff) |
Merge branch 'master' into temp-geometry-nodes-processor-prototype
Diffstat (limited to 'source/blender/python/intern/bpy_rna.c')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index fab73d0f3dc..49ac2662a31 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1345,7 +1345,7 @@ BLI_bitmap *pyrna_set_to_enum_bitmap(const EnumPropertyItem *items, index = (int)ret_convert.as_unsigned; } else { - BLI_assert(0); + BLI_assert_unreachable(); } } BLI_assert(index < bitmap_size); @@ -5550,7 +5550,7 @@ static PyObject *pyprop_array_foreach_getset(BPy_PropertyArrayRNA *self, case PROP_POINTER: case PROP_COLLECTION: /* Should never happen. */ - BLI_assert(false); + BLI_assert_unreachable(); break; } @@ -5595,7 +5595,7 @@ static PyObject *pyprop_array_foreach_getset(BPy_PropertyArrayRNA *self, case PROP_POINTER: case PROP_COLLECTION: /* Should never happen. */ - BLI_assert(false); + BLI_assert_unreachable(); break; } |