Blender Git Commit Log
Git Commits -> Revision 6355e3a
Revision 6355e3a by Bastien Montagne (master) July 28, 2014, 18:34 (GMT) |
As suggested by Campbell, rather use BVHTree to get len_diff in this morning's fix. Note than it's using nearest faces, since it showed to be much more performant than nearest vertex (quite odd, it's about 40% slower for the first element, then 50 times quicker for all others, as if BVH was cached, and building face was slower than verts one, but then using it, much quicker!). |
Commit Details:
Full Hash: 6355e3a45d1dd26b09713ece4c353bc890fd129c
Parent Commit: dfccfeb
Lines Changed: +16, -12
1 Modified Path:
/source/blender/editors/transform/transform_snap.c (+16, -12) (Diff)