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>2018-05-04 08:26:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-04 08:29:05 +0300
commitf3c5b0394f095bb017c19c5a945c8e7714205bf2 (patch)
tree7d137f466a762e013216381ccf747951ded466c2 /source/blender/windowmanager/intern/wm_keymap.c
parent16253285ff66039b2e861422e96a102e3118205a (diff)
IDProp API: expose repr utility function
Useful for logging properties passed to operators.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c
index bcfc97a1e23..39dd26339eb 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -1118,9 +1118,9 @@ static wmKeyMapItem *wm_keymap_item_find_handlers(
if (kmi->ptr) {
if (STREQ("MESH_OT_rip_move", opname)) {
printf("OPERATOR\n");
- IDP_spit(properties);
+ IDP_print(properties);
printf("KEYMAP\n");
- IDP_spit(kmi->ptr->data);
+ IDP_print(kmi->ptr->data);
}
}
#endif
@@ -1151,9 +1151,9 @@ static wmKeyMapItem *wm_keymap_item_find_handlers(
#ifndef NDEBUG
#ifdef WITH_PYTHON
printf("OPERATOR\n");
- IDP_spit(properties);
+ IDP_print(properties);
printf("KEYMAP\n");
- IDP_spit(kmi->ptr->data);
+ IDP_print(kmi->ptr->data);
#endif
#endif
printf("\n");
@@ -1300,9 +1300,9 @@ static wmKeyMapItem *wm_keymap_item_find(
#ifndef NDEBUG
#ifdef WITH_PYTHON
printf("OPERATOR\n");
- IDP_spit(properties);
+ IDP_print(properties);
printf("KEYMAP\n");
- IDP_spit(kmi->ptr->data);
+ IDP_print(kmi->ptr->data);
#endif
#endif
printf("\n");