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 <ideasman42@gmail.com>2019-11-07 14:38:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-07 14:38:22 +0300
commitc37ee984a3ec4c01be22db8503ab3c7a70ea0295 (patch)
tree2e14e6028b90d72ce6944ec48485c57818344510 /source/blender/python
parentaa2904ea13b5aa72c5eba0c9e094ad8fc4937990 (diff)
Cleanup: remove debugging prints for bpy.msgbus
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_msgbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_msgbus.c b/source/blender/python/intern/bpy_msgbus.c
index 630a0392dbd..db410fc10b1 100644
--- a/source/blender/python/intern/bpy_msgbus.c
+++ b/source/blender/python/intern/bpy_msgbus.c
@@ -307,7 +307,9 @@ static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args
WM_msg_subscribe_rna_params(mbus, &msg_key_params, &msg_val_params, __func__);
- WM_msg_dump(mbus, __func__);
+ if (0) { /* For debugging. */
+ WM_msg_dump(mbus, __func__);
+ }
Py_RETURN_NONE;
}