code cleanup: rename G.rt to G.debug_value

This commit is contained in:
2012-08-08 18:21:54 +00:00
parent 5019cd179f
commit 0b5a995cfd
20 changed files with 54 additions and 48 deletions

View File

@@ -195,7 +195,7 @@ PyDoc_STRVAR(bpy_app_debug_value_doc,
);
static PyObject *bpy_app_debug_value_get(PyObject *UNUSED(self), void *UNUSED(closure))
{
return PyLong_FromSsize_t(G.rt);
return PyLong_FromSsize_t(G.debug_value);
}
static int bpy_app_debug_value_set(PyObject *UNUSED(self), PyObject *value, void *UNUSED(closure))
@@ -207,7 +207,7 @@ static int bpy_app_debug_value_set(PyObject *UNUSED(self), PyObject *value, void
return -1;
}
G.rt = param;
G.debug_value = param;
return 0;
}