diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 09:34:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 09:34:06 +0300 |
commit | 6feb6235e1b4813763ee2852ecae1b03b08327f3 (patch) | |
tree | 0e85967aa5844d3b3da4c5fba1f9a6cca4dc8d31 /source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c | |
parent | 6f57d12e2e4a7d0e094bdfeb56cadd752fbe6207 (diff) |
WM: log message bus operations
Diffstat (limited to 'source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c')
-rw-r--r-- | source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c b/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c index da98cb75162..64894ae164d 100644 --- a/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c +++ b/source/blender/windowmanager/message_bus/intern/wm_message_bus_static.c @@ -24,6 +24,10 @@ #include <stdio.h> +#include "CLG_log.h" + +#include "MEM_guardedalloc.h" + #include "BLI_utildefines.h" #include "BLI_ghash.h" #include "BLI_listbase.h" @@ -32,7 +36,6 @@ #include "WM_message.h" #include "message_bus/intern/wm_message_bus_intern.h" -#include "MEM_guardedalloc.h" /* -------------------------------------------------------------------------- */ @@ -98,6 +101,8 @@ wmMsgSubscribeKey_Static *WM_msg_lookup_static(struct wmMsgBus *mbus, const wmMs void WM_msg_publish_static_params(struct wmMsgBus *mbus, const wmMsgParams_Static *msg_key_params) { + CLOG_INFO(WM_LOG_MSGBUS_PUB, 2, "static(event=%d)", msg_key_params->event); + wmMsgSubscribeKey_Static *key = WM_msg_lookup_static(mbus, msg_key_params); if (key) { WM_msg_publish_with_key(mbus, &key->head); |