diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-05 08:04:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-05 08:04:43 +0300 |
commit | 40d090cc725e1f8727ae33f3a702543f309f9a03 (patch) | |
tree | 88b327d708f0f1f67582984151eb5b75ccb87eb9 | |
parent | 5cc21b095a5add71fc4eea64dd6b107b4e8dcc19 (diff) | |
parent | 82efcfc1885d048c0ec7b5eea7c0a2c1df7940c5 (diff) |
Merge branch 'blender-v3.0-release'
-rw-r--r-- | source/blender/python/intern/bpy_rna_gizmo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c index adae68bd7b4..e4fb5b33e97 100644 --- a/source/blender/python/intern/bpy_rna_gizmo.c +++ b/source/blender/python/intern/bpy_rna_gizmo.c @@ -63,7 +63,7 @@ static int py_rna_gizmo_parse(PyObject *o, void *p) { /* No type checking (this is `self` not a user defined argument). */ BLI_assert(BPy_StructRNA_Check(o)); - BLI_assert(((const BPy_StructRNA *)o)->ptr.type == &RNA_Gizmo); + BLI_assert(RNA_struct_is_a(((const BPy_StructRNA *)o)->ptr.type, &RNA_Gizmo)); wmGizmo **gz_p = p; *gz_p = ((const BPy_StructRNA *)o)->ptr.data; |