diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:16:02 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-01-17 16:10:01 +0300 |
commit | caf362422e458da5f8b9d8878167165946994fa4 (patch) | |
tree | b49028fd1345f5abc1c796fa1047e57a39d22166 | |
parent | ccb2456df6d4aa5113146e57e32be46f648d0efa (diff) |
Fix crash caused by exception in Python gizmo target get handler
-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 ade9516d768..8bf752e0cf1 100644 --- a/source/blender/python/intern/bpy_rna_gizmo.c +++ b/source/blender/python/intern/bpy_rna_gizmo.c @@ -103,7 +103,7 @@ fail: PyErr_Print(); PyErr_Clear(); - Py_DECREF(ret); + Py_XDECREF(ret); PyGILState_Release(gilstate); } |