Blender Git Loki

Git Commits -> Revision ea43099

Revision ea43099 by Jeroen Bakker (master)
June 18, 2021, 13:44 (GMT)
Performance: Limit recounting during selection mode flushing.

This patch ensures that selection mode flushing updates total selection
counts internally. This reduces recounting when we are sure that the
input total selection counts were up to date.

For example for circle selection the total selection counts were
correct. But during flushing the selection could have been changed and
therefore the selection was always recounted.

This increased the performance on selected system from 6.90 FPS to 8.25
FPS during circle selection operations.

Before: {F10179981}
After: {F10179982}

Reviewed By: mano-wii

Differential Revision: https://developer.blender.org/D11647

Commit Details:

Full Hash: ea4309925f1d2d2a224bd1dce12269a58ade9b62
Parent Commit: a9d5c8f
Lines Changed: +83, -47

5 Modified Paths:

/source/blender/bmesh/intern/bmesh_marking.c (+65, -43) (Diff)
/source/blender/bmesh/intern/bmesh_marking.h (+11, -1) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+5, -1) (Diff)
/source/blender/editors/uvedit/uvedit_path.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021