diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-12 05:46:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-12 05:57:38 +0300 |
commit | 1966924467c901d541bfe3f510d21a20c29842e3 (patch) | |
tree | a9549221176b32af95d3d582e03790d0de28a536 /source/blender/editors/space_image | |
parent | 2c9c22df26dfdcf03bb308fdf35294ed79c2d0e5 (diff) |
UV: internal changes to picking
Nothing user visible, only things needed for multi-object support,
making picking functions more flexible too.
- Support passing in an initialized hit-struct,
so it's possible to do multiple nearest calls on the same hit data.
- Replace manhattan distance w/ squared distance
so they can be compared.
- Return success to detect changes to a hit-data
which might already be initialized (also more readable).
Diffstat (limited to 'source/blender/editors/space_image')
0 files changed, 0 insertions, 0 deletions