[Bf-blender-cvs] [80aae2b] master: Consider Numpad Enter in pose slide operators

Sergey Sharybin noreply at git.blender.org
Thu Nov 10 17:19:27 CET 2016


Commit: 80aae2b6feddfe44d47c7fc6541b6326527a44fd
Author: Sergey Sharybin
Date:   Thu Nov 10 17:18:57 2016 +0100
Branches: master
https://developer.blender.org/rB80aae2b6feddfe44d47c7fc6541b6326527a44fd

Consider Numpad Enter in pose slide operators

It was annoying to only have regular Enter confirming input there.

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

M	source/blender/editors/armature/pose_slide.c

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

diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c
index cd0ea23..8e8345d 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -685,6 +685,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event)
 	switch (event->type) {
 		case LEFTMOUSE: /* confirm */
 		case RETKEY:
+		case PADENTER:
 		{
 			/* return to normal cursor and header status */
 			ED_area_headerprint(pso->sa, NULL);




More information about the Bf-blender-cvs mailing list