diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-08 09:52:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-08 09:54:52 +0300 |
commit | 9342f55d12f87dbc72e6953e0bc6c2564e57465f (patch) | |
tree | ef3d3baa82c2bbf4badd6f11592237df76c8744e /source/blender/editors/sculpt_paint/paint_hide.c | |
parent | 222a941a2bbd71dcaa1012cdea959954ca065c6a (diff) | |
parent | ecab7bef6989752ff1a8c5fd1eab7b5ab159ed46 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index b175a33934a..5d4451dd3d8 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -325,7 +325,7 @@ static void clip_planes_from_rect(bContext *C, BoundBox bb; view3d_operator_needs_opengl(C); - view3d_set_viewcontext(C, &vc); + ED_view3d_viewcontext_init(C, &vc); ED_view3d_clipping_calc(&bb, clip_planes, vc.ar, vc.obact, rect); negate_m4(clip_planes); } |