diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-09 00:38:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-09 00:38:55 +0400 |
commit | 5e0f254afa8caed1febbe02130cc313a53149efe (patch) | |
tree | 859b5590307db3310e070b258c04697dabaac2a1 /source/blender/editors/space_sequencer/sequencer_select.c | |
parent | 6cfb7f50d2856068f74125321a348e43b7c9c3d4 (diff) |
utility functions for getting/setting rectangles for operators.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_select.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_select.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index 8aba1cb1bc7..3d57f2f88ed 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -860,10 +860,7 @@ static int sequencer_borderselect_exec(bContext *C, wmOperator *op) if (ed == NULL) return OPERATOR_CANCELLED; - rect.xmin = RNA_int_get(op->ptr, "xmin"); - rect.ymin = RNA_int_get(op->ptr, "ymin"); - rect.xmax = RNA_int_get(op->ptr, "xmax"); - rect.ymax = RNA_int_get(op->ptr, "ymax"); + WM_operator_properties_border_to_rcti(op, &rect); mval[0] = rect.xmin; mval[1] = rect.ymin; |