[Bf-blender-cvs] [711e356] master: Keymap: Add delete-key for paint curves

Campbell Barton noreply at git.blender.org
Sun Nov 15 23:58:15 CET 2015


Commit: 711e3564b808ab802c503409e7740b0ca9b6ef65
Author: Campbell Barton
Date:   Mon Nov 16 09:49:50 2015 +1100
Branches: master
https://developer.blender.org/rB711e3564b808ab802c503409e7740b0ca9b6ef65

Keymap: Add delete-key for paint curves

===================================================================

M	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 bfeac62..a77c7ba 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -1267,6 +1267,7 @@ static void paint_keymap_curve(wmKeyMap *keymap)
 
 	WM_keymap_add_item(keymap, "PAINTCURVE_OT_cursor", ACTIONMOUSE, KM_PRESS, 0, 0);
 	WM_keymap_add_item(keymap, "PAINTCURVE_OT_delete_point", XKEY, KM_PRESS, 0, 0);
+	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);
 	WM_keymap_add_item(keymap, "PAINTCURVE_OT_draw", PADENTER, KM_PRESS, 0, 0);




More information about the Bf-blender-cvs mailing list