Blender Git Commit Log

Git Commits -> Revision a7bae84

Revision a7bae84 by Campbell Barton (master)
December 19, 2011, 22:55 (GMT)
calculate weight paint colors once per vertex rather then on every face corner (was doing the same deform vert lookup and color calculation multiple times per vertex),

Quick shows over 2x speedup in my tests, will give bigger speedup with more vertex groups.

If you happen to have vertices with no faces using them - vertex colors will be calculated unnecessarily, but this isnt a common use case for weight paint mode.

Commit Details:

Full Hash: a7bae8474b11ad2dbf6ccc45423bd47702f6c148
SVN Revision: 42741
Parent Commit: b66c872
Lines Changed: +43, -26

3 Modified Paths:

/source/blender/blenkernel/BKE_texture.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+40, -23) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021