Blender Git Loki
Git Commits -> Revision b204bda
Revision b204bda by Campbell Barton (master) June 22, 2016, 11:30 (GMT) |
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). |
Commit Details:
Full Hash: b204bdad47ffbd92b7b6702e2a680da9cbd6489a
Parent Commit: 493c6b6
Lines Changed: +63, -22
5 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/crazyspace.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+34, -10) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+12, -5) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+7, -4) (Diff)
/source/blender/blenkernel/intern/crazyspace.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+34, -10) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+12, -5) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+7, -4) (Diff)