Fix T53752: Draw curve fails w/ stylus

This commit is contained in:
Philipp Oeser 2018-01-11 10:22:08 +11:00 committed by Campbell Barton
parent c27cab268b
commit d0cc5d8948
Notes: blender-bot 2023-02-14 07:36:17 +01:00
Referenced by issue #53752, Draw curve fails if you stop press action before separe stylus.
Referenced by issue #53683, 2.79a release
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ void ED_keymap_curve(wmKeyConfig *keyconf)
kmi = WM_keymap_add_item(keymap, "CURVE_OT_draw", ACTIONMOUSE, KM_PRESS, KM_SHIFT, 0);
RNA_boolean_set(kmi->ptr, "wait_for_input", false);
kmi = WM_keymap_add_item(keymap, "CURVE_OT_draw", TABLET_STYLUS, KM_PRESS, KM_SHIFT, 0);
RNA_boolean_set(kmi->ptr, "wait_for_input", false);
kmi = WM_keymap_add_item(keymap, "CURVE_OT_select_all", AKEY, KM_PRESS, 0, 0);
RNA_enum_set(kmi->ptr, "action", SEL_TOGGLE);
kmi = WM_keymap_add_item(keymap, "CURVE_OT_select_all", IKEY, KM_PRESS, KM_CTRL, 0);