Blender Git Loki

Git Commits -> Revision cd3cf84

Revision cd3cf84 by Jeroen Bakker (soc-2021-curves)
June 21, 2021, 14:31 (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: cd3cf84e1b890fe37be9e1c84c6fac5457dddd67
Parent Commit: 5cf661e
Committed By: Dilith Jayakody
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