Blender Git Commit Log

Git Commits -> Revision 5c23b86

Revision 5c23b86 by Mike Erwin (master)
October 7, 2016, 17:00 (GMT)
fix grid floor drawing assert

@dfelinto reported crash when setting grid subdivisions too low.

Code was setting color twice and Gawain was catching this. Fix is to only set regular grid color when we have regular grid lines to draw. Then emphasized grid lines are free to set their own color further down.

Commit Details:

Full Hash: 5c23b863f8c62e88406911aa90682fba8d434c16
Parent Commit: 6e358a1
Lines Changed: +2, -1

1 Modified Path:

/source/blender/editors/space_view3d/view3d_draw.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021