Blender Git Loki

Git Commits -> Revision 7acd3ad

Revision 7acd3ad by Hans Goudey (master)
December 21, 2021, 00:03 (GMT)
Cleanup: Use simpler loops in weld modifier

In this commit I changed many loops to range-based for loops.
I also removed some of the redundant iterator variables, using
indexing inside the loop instead. Generally an optimizing compiler
should have no problem doing the smartest thing in that situation,
and this way makes it much easier to tell where data is coming from.

I only changed the loops I was confident about, so there is still more
that could be done in the future.

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

Commit Details:

Full Hash: 7acd3ad7d8e58b913c563edad2fb2abfee5a3b6b
Parent Commit: 5922147
Lines Changed: +138, -176

1 Modified Path:

/source/blender/modifiers/intern/MOD_weld.cc (+138, -176) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021