From 6555e177e9cccdde66c373ce3e382edf74eb46cc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 23 Jan 2019 20:44:08 +1100 Subject: 3D View: add back clipping draw code (disabled) Disabled for now because of draw-order issues. Also move clipping test out of view3d_draw_legacy.c --- source/blender/editors/include/ED_view3d.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 8a699d8c9fb..f8130ee73fa 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -452,6 +452,8 @@ void ED_view3d_draw_setup_view( struct wmWindow *win, struct Depsgraph *depsgraph, struct Scene *scene, struct ARegion *ar, struct View3D *v3d, float viewmat[4][4], float winmat[4][4], const struct rcti *rect); +void ED_view3d_draw_clipping(const struct RegionView3D *rv3d); + enum { V3D_OFSDRAW_NONE = (0), -- cgit v1.2.3