Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-18 15:28:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-18 16:55:58 +0300
commiteddda5194c3bba07259a455c61016ed1fc93de5d (patch)
tree8b2665195d835e0c45ef19eef41ebacc42d480b9 /source/blender/editors/mesh
parent53f77ae7220ba19e2b300317726a956ab3e98a15 (diff)
Cleanup: remove unused argument
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editface.c2
-rw-r--r--source/blender/editors/mesh/editmesh_select.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c
index fdbcc3449b2..ada44f9a77a 100644
--- a/source/blender/editors/mesh/editface.c
+++ b/source/blender/editors/mesh/editface.c
@@ -467,7 +467,7 @@ bool do_paintface_box_select(ViewContext *vc, const rcti *rect, int sel_op)
char *selar = MEM_callocN(me->totpoly + 1, "selar");
ED_view3d_select_id_validate(vc);
- buf = ED_view3d_select_id_read_rect(vc, rect, &buf_len);
+ buf = ED_view3d_select_id_read_rect(rect, &buf_len);
rt = buf;
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 485d855e18e..372ff42f1c3 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -350,7 +350,7 @@ bool EDBM_backbuf_border_init(ViewContext *vc, short xmin, short ymin, short xma
}
ED_view3d_select_id_validate(vc);
- buf = ED_view3d_select_id_read(vc, xmin, ymin, xmax, ymax, &buf_len);
+ buf = ED_view3d_select_id_read(xmin, ymin, xmax, ymax, &buf_len);
if ((buf == NULL) || (bm_vertoffs == 0)) {
return false;
}
@@ -437,7 +437,7 @@ bool EDBM_backbuf_border_mask_init(ViewContext *vc,
}
ED_view3d_select_id_validate(vc);
- buf = ED_view3d_select_id_read(vc, xmin, ymin, xmax, ymax, &buf_len);
+ buf = ED_view3d_select_id_read(xmin, ymin, xmax, ymax, &buf_len);
if ((buf == NULL) || (bm_vertoffs == 0)) {
return false;
}
@@ -490,7 +490,7 @@ bool EDBM_backbuf_circle_init(ViewContext *vc, short xs, short ys, short rads)
ymax = ys + rads;
ED_view3d_select_id_validate(vc);
- buf = ED_view3d_select_id_read(vc, xmin, ymin, xmax, ymax, NULL);
+ buf = ED_view3d_select_id_read(xmin, ymin, xmax, ymax, NULL);
if ((buf == NULL) || (bm_vertoffs == 0)) {
return false;
}