Blender Git Commit Log
Git Commits -> Revision 42bbfe7
Revision 42bbfe7 by Mike Erwin (master) August 26, 2016, 05:12 (GMT) |
OpenGL: draw grid floor & axes with new immediate mode Significant rewrite with some improvements. Maintain visual hierarchy of the grid: - emphasized lines draw atop normal lines - axes draw atop all lines (same as before) Draw axes only once, not twice. Return early if nothing to draw. Single draw call for the default case (grid floor with X and Y axes). Z axis needs a second draw call because it uses 3D coordinates. Part of T49043 |
Commit Details:
Full Hash: 42bbfe7f0a1f357781859ee3a2819f00e2c54f4c
Parent Commit: 060bf1b
Lines Changed: +139, -64
1 Modified Path:
/source/blender/editors/space_view3d/view3d_draw.c (+139, -64) (Diff)