Blender Git Loki
Git Commits -> Revision 62cc226
Revision 62cc226 by Campbell Barton (master) March 9, 2017, 18:00 (GMT) |
3D View: x-ray support for depth picking Selection loop would draw the selection ignoring xray. Now draw in a separate pass after clearing the depth buffer, as with regular drawing. Also disable depth sorting, caller can sort the hit-list by depth if needed. |
Commit Details:
Full Hash: 62cc226101fab61b5ae2f18f8cbe8f1e5ac6ce82
Parent Commit: 9de9f25
Lines Changed: +170, -85
5 Modified Paths:
/source/blender/editors/space_view3d/drawobject.c (+44, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+82, -0) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+7, -1) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -74) (Diff)
/source/blender/gpu/intern/gpu_select_pick.c (+34, -10) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+82, -0) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+7, -1) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+3, -74) (Diff)
/source/blender/gpu/intern/gpu_select_pick.c (+34, -10) (Diff)