Blender Git Commit Log
Git Commits -> Revision 548c77d
Revision 548c77d by Lukas Toenne (temp_depsgraph_split_ubereval) 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)