diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-20 22:00:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-20 22:00:19 +0400 |
commit | 9563743f4ee879f2cd7900dbc0c3bf0514c899a1 (patch) | |
tree | 7e20ff07128d7b7cb0234337cceab9fd78f01f62 /source/blender/editors/space_graph/graph_select.c | |
parent | 8d8e42a45113921460e53c43f1f9839052796b22 (diff) |
was using the wrong rna type for GRAPH_OT_select_leftright
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index daae0ad6625..da7a95cdbf7 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -822,9 +822,9 @@ static int graphkeys_select_leftright_invoke (bContext *C, wmOperator *op, wmEve /* determine which side of the current frame mouse is on */ UI_view2d_region_to_view(v2d, event->mval[0], event->mval[1], &x, NULL); if (x < CFRA) - RNA_int_set(op->ptr, "mode", GRAPHKEYS_LRSEL_LEFT); + RNA_enum_set(op->ptr, "mode", GRAPHKEYS_LRSEL_LEFT); else - RNA_int_set(op->ptr, "mode", GRAPHKEYS_LRSEL_RIGHT); + RNA_enum_set(op->ptr, "mode", GRAPHKEYS_LRSEL_RIGHT); } /* perform selection */ |