From 2e15ee0dcfaab49970eb5490bd3683a770af149e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 2 Jul 2018 13:00:43 +0200 Subject: Keymap: add back X-Key for delete This is needed as part of modeling work-flow, so keep it accessible. --- source/blender/editors/sculpt_paint/paint_ops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/editors/sculpt_paint/paint_ops.c') diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index e2c39695380..c286d41f4b0 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -1230,9 +1230,8 @@ static void paint_keymap_curve(wmKeyMap *keymap) RNA_boolean_set(kmi->ptr, "toggle", true); WM_keymap_add_item(keymap, "PAINTCURVE_OT_cursor", ACTIONMOUSE, KM_PRESS, 0, 0); -#ifdef USE_WM_KEYMAP_27X + WM_keymap_add_item(keymap, "PAINTCURVE_OT_delete_point", XKEY, KM_PRESS, 0, 0); -#endif WM_keymap_add_item(keymap, "PAINTCURVE_OT_delete_point", DELKEY, KM_PRESS, 0, 0); WM_keymap_add_item(keymap, "PAINTCURVE_OT_draw", RETKEY, KM_PRESS, 0, 0); -- cgit v1.2.3