Blender Git Loki

Git Commits -> Revision d8283a1

Revision d8283a1 by Andrii (master)
August 28, 2020, 20:22 (GMT)
UI: Improve curve grid drawing code

This patch fixes assert on grid drawing. `for` loops are used instead
of `while` loops to make sure the number of lines is exact. The old
code draws lots of unnecessary lines offscreen. This bug is fixed as
well. See the patch for a comparison without a scissor test.

Differential Revision: https://developer.blender.org/D8745

Commit Details:

Full Hash: d8283a1f89493076ec2750350a31d45233da6c11
Parent Commit: 744eb11
Committed By: Hans Goudey
Lines Changed: +23, -25

1 Modified Path:

/source/blender/editors/interface/interface_draw.c (+23, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021