diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-06 14:54:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-07 00:46:57 +0400 |
commit | 4bc62b31af30ffe2037a459882e249f234efd4c3 (patch) | |
tree | b6a5f49e397437eb29442b9a0f883c58159750fd /source/blender/editors/space_nla/nla_select.c | |
parent | cfc62a97a595befb2764b2c6f58365be08b59ab5 (diff) |
Fix for RNA_int/enum mixup
Diffstat (limited to 'source/blender/editors/space_nla/nla_select.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_nla/nla_select.c b/source/blender/editors/space_nla/nla_select.c index 0d26f374dd0..8261397c940 100644 --- a/source/blender/editors/space_nla/nla_select.c +++ b/source/blender/editors/space_nla/nla_select.c @@ -465,9 +465,9 @@ static int nlaedit_select_leftright_invoke(bContext *C, wmOperator *op, const wm /* determine which side of the current frame mouse is on */ x = UI_view2d_region_to_view_x(v2d, event->mval[0]); if (x < CFRA) - RNA_int_set(op->ptr, "mode", NLAEDIT_LRSEL_LEFT); + RNA_enum_set(op->ptr, "mode", NLAEDIT_LRSEL_LEFT); else - RNA_int_set(op->ptr, "mode", NLAEDIT_LRSEL_RIGHT); + RNA_enum_set(op->ptr, "mode", NLAEDIT_LRSEL_RIGHT); } /* perform selection */ |