diff options
author | pembem22 <pembem22> | 2020-08-28 23:22:36 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-08-28 23:22:36 +0300 |
commit | d8283a1f89493076ec2750350a31d45233da6c11 (patch) | |
tree | fa3d1d5530a86a761c3c9cd85bec4574682b236c /source/blender/blenkernel/intern | |
parent | 744eb1172e3ba16af21813de6c1e772490a68b91 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/intern')
0 files changed, 0 insertions, 0 deletions