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 <campbell@blender.org>2022-01-14 02:16:02 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-01-17 16:10:01 +0300
commitcaf362422e458da5f8b9d8878167165946994fa4 (patch)
treeb49028fd1345f5abc1c796fa1047e57a39d22166
parentccb2456df6d4aa5113146e57e32be46f648d0efa (diff)
Fix crash caused by exception in Python gizmo target get handler
-rw-r--r--source/blender/python/intern/bpy_rna_gizmo.c2
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);
}