diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2016-07-06 04:34:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-06 04:42:26 +0300 |
commit | 950c2eaf614e895f5856d08faa8e86024b75ef85 (patch) | |
tree | 65a31c83dbb4137140065c4b95122de2a3368c73 /source/blender/blenkernel/intern/pbvh_bmesh.c | |
parent | 1d81f69f5e8e9fd272489c3c23206d2148d341ca (diff) |
Transform Snap: Replace pixel limit w/ 'dist_to_ray_sq'
When snapping to edge/vert, check the distance to the ray
instead of the screen-space pixel projection.
This also corrects the conversion of `dist_to_ray_sq` to `dist_px` which was being done incorrectly.
While this change was planned, it fixes T48791, caused by error in b01a56ee.
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_bmesh.c')
0 files changed, 0 insertions, 0 deletions