diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 04:29:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 04:29:56 +0400 |
commit | 7cc5af4ef3869f6a1d2766eb5643f94e2f540cfa (patch) | |
tree | 42c7e5d6179e20e479e8eae7792c7091cc9ffd31 /source/blender/editors/space_file | |
parent | f8bf58e0f21c59c4440165fbad55b082846b6b54 (diff) |
minor refactor for rect functions. more consistent naming.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 9591e624296..6856ce996e7 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -248,7 +248,7 @@ static int file_border_select_modal(bContext *C, wmOperator *op, wmEvent *event) rect.xmax = RNA_int_get(op->ptr, "xmax"); rect.ymax = RNA_int_get(op->ptr, "ymax"); - BLI_isect_rcti(&(ar->v2d.mask), &rect, &rect); + BLI_rcti_isect(&(ar->v2d.mask), &rect, &rect); sel = file_selection_get(C, &rect, 0); if ( (sel.first != params->sel_first) || (sel.last != params->sel_last) ) { @@ -288,7 +288,7 @@ static int file_border_select_exec(bContext *C, wmOperator *op) file_deselect_all(sfile, SELECTED_FILE); } - BLI_isect_rcti(&(ar->v2d.mask), &rect, &rect); + BLI_rcti_isect(&(ar->v2d.mask), &rect, &rect); ret = file_select(C, &rect, select ? FILE_SEL_ADD : FILE_SEL_REMOVE, 0); if (FILE_SELECT_DIR == ret) { |