diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-22 14:20:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-22 14:31:00 +0300 |
commit | b204bdad47ffbd92b7b6702e2a680da9cbd6489a (patch) | |
tree | 3488037b2e2eb33450a7cfee813538c4d4ce76b4 /source/blender/editors/space_logic | |
parent | 493c6b622fe3fb80243dfeac29f9399ac6fc4a8c (diff) |
EditMesh: Avoid creating deform-vert layer every redraw
Getting a new edit-derived-bmesh was always creating a deform-vert array, even when it wasn't needed.
Since this was called on redraw, in many cases it was doing it unnecessarily.
Now pass in a custom-data mask and only fill in deform-verts when needed.
Gives noticeable drawing speedup (~10-30% here).
Diffstat (limited to 'source/blender/editors/space_logic')
0 files changed, 0 insertions, 0 deletions