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.
This commit is contained in:
2020-11-06 12:27:56 +01:00
parent e6739ed91d
commit b35e3f2460

View File

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