[Bf-blender-cvs] [b35e3f24600] blender-v2.91-release: Fix T82457: Python error when clicking on a tool in the viewport

Dalai Felinto noreply at git.blender.org
Fri Nov 6 12:29:27 CET 2020


Commit: b35e3f24600e9a4b0af0b44e06cb7d0218eaa6ac
Author: Dalai Felinto
Date:   Fri Nov 6 12:27:56 2020 +0100
Branches: blender-v2.91-release
https://developer.blender.org/rBb35e3f24600e9a4b0af0b44e06cb7d0218eaa6ac

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.

===================================================================

M	source/blender/python/intern/bpy_rna.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list