Blender Git Commit Log

Git Commits -> Revision 594f47e

Revision 594f47e by Hans Goudey (master)
October 24, 2020, 04:29 (GMT)
Cleanup: Return early in some curve functions

This commit uses continue in loops and returning early to reduce
indentation in long functions, only where this results in a significant
improvement. Also includes a few LISTBASE_FOREACH macros.

Commit Details:

Full Hash: 594f47ecd2d5367ca936cf6fc6ec8168c2b360d0
Parent Commit: f32ab72
Lines Changed: +697, -700

3 Modified Paths:

/source/blender/blenkernel/intern/curve.c (+331, -328) (Diff)
/source/blender/blenkernel/intern/displist.c (+180, -179) (Diff)
/source/blender/editors/curve/editcurve.c (+186, -193) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021