From 6aadd61bd892d3908ed815171553a3c52144ec6c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Feb 2018 22:02:18 +1100 Subject: Cleanup: remove unused duplicate code --- source/blender/editors/space_view3d/view3d_draw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_view3d/view3d_draw.c') diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index f999fab88ac..94c7ff5a051 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1555,8 +1555,10 @@ ImBuf *ED_view3d_backbuf_read(ViewContext *vc, int xmin, int ymin, int xmax, int } } -/* smart function to sample a rect spiralling outside, nice for backbuf selection */ -unsigned int ED_view3d_backbuf_sample_rect( +/** + * Smart function to sample a rectangle spiral ling outside, nice for backbuf selection + */ +uint ED_view3d_backbuf_sample_rect( ViewContext *vc, const int mval[2], int size, unsigned int min, unsigned int max, float *r_dist) { -- cgit v1.2.3