Blender Git Loki

Git Commits -> Revision 548c77d

September 23, 2015, 16:19 (GMT)
Cleanup for mesh_calc_modifiers: Context and Iteration structs.

These gather most of the large number of local variables in that function,
in order to gain some clarity on their usage and scope.

Context is where immutable settings and global precomputed data is stored
during the computation. These values are initialized once and not touched
by modifiers.

Iterator struct holds the combined md/datamask pointers and some (hackish)
mutable data that gets updated during the process.

Where possible local variables have also been moved into narrower code blocks
to make the overall procedure less confusing.

Commit Details:

Full Hash: 548c77d5e15fea657aa9e451d6f760cd54f975e0
Parent Commit: 5ce1b86
Lines Changed: +187, -126

1 Modified Path:

/source/blender/blenkernel/intern/DerivedMesh.c (+187, -126) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021