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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020