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-07-05 13:09:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-05 13:27:15 +0300
commit397d088611b857e536bea08003eeba1b50678ec2 (patch)
tree25c7564fd7a65fb0c500b58f907e6831f338820b /source/blender/editors/interface
parent1517fa43097a3925b5fd1d4b8738fd56fde17bc8 (diff)
UI: show modal operator keymaps in the status bar
This is work in progress, transform keymap especially needs some filtering on it's keymap.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_templates.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index a14d12492ec..1c3ed3e3c75 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -4330,6 +4330,10 @@ void uiTemplateInputStatus(uiLayout *layout, struct bContext *C)
return;
}
+ if (WM_window_modal_keymap_status_draw(C, win, layout)) {
+ return;
+ }
+
/* Otherwise should cursor keymap status. */
for (int i = 0; i < 3; i++) {
uiLayout *box = uiLayoutRow(layout, false);