Blender Git Commit Log

Git Commits -> Revision cdb3cbd

Revision cdb3cbd by Hans Goudey (master)
February 12, 2021, 22:06 (GMT)
Cleanup: Simplify three functions in displist.c

A few related improvements to the three functions:
- Reduce variable scope
- Use for loops instead of while loops
- Use const, bool instead of int
- Generally make logic easier to read

Commit Details:

Full Hash: cdb3cbd644013e466943f623f9080cfdb9ca6f12
Parent Commit: 85f6674
Lines Changed: +151, -221

2 Modified Paths:

/source/blender/blenkernel/BKE_displist.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/displist.c (+150, -220) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021