diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-20 02:55:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-20 02:55:04 +0400 |
commit | a7bae8474b11ad2dbf6ccc45423bd47702f6c148 (patch) | |
tree | 65967cbe112f2fa2d911eebc03cdf779aa9e311f /source/blender/makesdna/DNA_world_types.h | |
parent | b66c87231abf35f2bc3443c7d7b4140aee0621bc (diff) |
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.
Diffstat (limited to 'source/blender/makesdna/DNA_world_types.h')
0 files changed, 0 insertions, 0 deletions