Blender Git Loki

Git Commits -> Revision 2c2d52c

Revision 2c2d52c by Campbell Barton (master)
February 13, 2016, 07:59 (GMT)
Optimize sculpt undo, avoid redundant updates

On undo, sculpting regular meshes would update _all_ GPU VBO's.
Avoiding the update gives noticeably faster undo.

This is also a fix/workaround for strange behavior with NVidia's driver (T47232),
Where locking and unlocking all buffers for updating
slows down redraw speed permanently after the first undo.

However the problem isn't avoided entirely since a single brush stroke might modify most of the mesh.

Commit Details:

Full Hash: 2c2d52c2dea1647b84f2d0808ee1834484a6d48d
Parent Commit: 12b996e
Lines Changed: +130, -38

3 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+29, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+99, -36) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021