Blender Git Commit Log

Git Commits -> Revision 743aa69

Revision 743aa69 by Alexander Gavrilov
January 7, 2021, 18:20 (GMT)
Surface Deform: optimize memory allocation in the evaluation code.

Using malloc to allocate a temporary array for each vertex,
which most commonly contains just 4 elements, is not efficient.
Checking the mode with a switch is also better.

Finally, a one line UI fix: the strength option is not bind specific.

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

Commit Details:

Full Hash: 743aa693270f87dfe007d138291f332f49c2c726
Parent Commit: e547bcf
Lines Changed: +30, -13

1 Modified Path:

/source/blender/modifiers/intern/MOD_surfacedeform.c (+30, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021