From ecab7bef6989752ff1a8c5fd1eab7b5ab159ed46 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 8 Mar 2018 17:30:24 +1100 Subject: Cleanup: Rename view3d context set function Use common prefix so adding related functions share the prefix. --- source/blender/editors/sculpt_paint/paint_hide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_hide.c') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index a49fe9c929a..e2b318710a8 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -326,7 +326,7 @@ static void clip_planes_from_rect(bContext *C, bglMats mats = {{0}}; view3d_operator_needs_opengl(C); - view3d_set_viewcontext(C, &vc); + ED_view3d_viewcontext_init(C, &vc); view3d_get_transformation(vc.ar, vc.rv3d, vc.obact, &mats); ED_view3d_clipping_calc(&bb, clip_planes, &mats, rect); negate_m4(clip_planes); -- cgit v1.2.3