Files
test2/source/blender/blenkernel
Germano Cavalcante 1c77779160 Refactor: Store a 'Mesh' in the editmesh snap cache and use it for snapping
In this commit, a temporary mesh is created representing the edit mesh.
This mesh is then used in the Edit Mesh snapping system instead of the
BMesh.

By using a Mesh object for snapping, we remove a considerable amount of
code and use a more optimized version of snapping.

This simplifies the code and makes it easier to implement new features.

## Performance test: Face + Edge + Vert
|        | Cache     | Gen. Snap |
|--------|-----------|-----------|
| Before | 680.88 ms | 0.1250 ms |
| After  | 489.06 ms | 0.1064 ms |
| Improv | 28.65%    | 14.88%    |

## Performance test: Face
|        | Cache     | Gen. Snap |
|--------|-----------|-----------|
| Before | 293.90 ms | 0.0230 ms |
| After  | 411.92 ms | 0.0256 ms |
| Improv | -40.15%   | -11.30%   |

Pull Request: https://projects.blender.org/blender/blender/pulls/117047
2024-02-12 18:59:13 +01:00
..
2024-01-15 12:44:14 -05:00
2024-01-03 13:38:14 +01:00
2024-02-06 22:28:10 +11:00
2023-12-01 10:29:59 -08:00
2024-01-03 13:38:14 +01:00
2023-07-04 17:03:02 +02:00
2023-11-27 09:30:52 +11:00
2024-01-19 12:08:48 -05:00
2024-01-15 12:44:14 -05:00
2023-08-18 08:56:12 +10:00
2024-01-11 11:01:50 -05:00