From b35e3f24600e9a4b0af0b44e06cb7d0218eaa6ac Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 6 Nov 2020 12:27:56 +0100 Subject: Fix T82457: Python error when clicking on a tool in the viewport Ths variable was initialized for false, while it was expected to be true. --- source/blender/python/intern/bpy_rna.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python') diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index cd0ec44e2ad..53c89f64bc1 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -3621,7 +3621,7 @@ static PyObject *pyrna_struct_is_property_set(BPy_StructRNA *self, PyObject *arg { PropertyRNA *prop; const char *name; - bool use_ghost = false; + bool use_ghost = true; PYRNA_STRUCT_CHECK_OBJ(self); -- cgit v1.2.3