Blender Git Commit Log

Git Commits -> Revision f08f8a2

Revision f08f8a2 by Bastien Montagne (master)
May 22, 2017, 14:43 (GMT)
Enhance vgroup handling when merging meshes.

We were looping over all vgroups in destination mesh and making string
comparison, for every vgroup of every vertex of merged mesh! Crazy!

Now we simply create a temp mapping of vgroup indices, seriously
simplifies things (and gives significant speedup when merging huge meshes
with lots of vgroups, here with quick stupid test went from 120ms in
vgroup merging to less than 5ms, 25 times quicker!).

Commit Details:

Full Hash: f08f8a2df2a82d00ad603139c299e236bc3d2efa
Parent Commit: e3d6321
Lines Changed: +19, -15

1 Modified Path:

/source/blender/editors/mesh/meshtools.c (+19, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021