Blender Git Commit Log
Git Commits -> Revision 80cbbd2
Revision 80cbbd2 by Campbell Barton (master) March 29, 2021, 07:08 (GMT) |
Knife: support vert/edge snapping when not directly over a face Respect the distance argument to EDBM_face_find_nearest, when zero, sample a single pixel, otherwise sample a region. Knife uses the selection-buffer to pick a face when the ray-cast failed. This was meant to allow snapping to nearby faces however as the margin was ignored, it was only used in edge cases where the ray-cast missed but the pixel didn't. Now the face-picking threshold is working as expected. Note that other callers to EDBM_face_find_nearest have been updated so set their distance argument to zero so this only impacts the knife. Regular selection and path select could be modified separately if users prefer this behavior. |
Commit Details:
Full Hash: 80cbbd2843c2358879b1a710d81a3b41e1468327
Parent Commit: 3659340
Lines Changed: +28, -2