Blender Git Loki

Git Commits -> Revision 662b7c3

Revision 662b7c3 by Alexander Gavrilov (master)
January 8, 2021, 09:24 (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.

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

Commit Details:

Full Hash: 662b7c3edfcd64ca59a6ba2999eac583fc14cbaa
Parent Commit: ceaed47
Lines Changed: +28, -11

1 Modified Path:

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