diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-14 19:44:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-14 19:44:56 +0400 |
commit | 93bc463f6d070574edf8234dc516506731a707a3 (patch) | |
tree | 463841bf936593b5c0df7a52e7533db5b22f3ca7 /source/blender/editors/space_action | |
parent | da7f7007494746da8a71982bb0d78a082e07118f (diff) |
action editor was setting wrong rna type on Ctrl+RMB
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index bee872dbe60..6637e7004d5 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -858,9 +858,9 @@ static int actkeys_select_leftright_invoke (bContext *C, wmOperator *op, wmEvent /* determine which side of the current frame mouse is on */ UI_view2d_region_to_view(v2d, mval[0], mval[1], &x, NULL); if (x < CFRA) - RNA_int_set(op->ptr, "mode", ACTKEYS_LRSEL_LEFT); + RNA_enum_set(op->ptr, "mode", ACTKEYS_LRSEL_LEFT); else - RNA_int_set(op->ptr, "mode", ACTKEYS_LRSEL_RIGHT); + RNA_enum_set(op->ptr, "mode", ACTKEYS_LRSEL_RIGHT); } /* perform selection */ |