Blender Git Commit Log

Git Commits -> Revision 1966924

Revision 1966924 by Campbell Barton (master)
March 12, 2018, 02:54 (GMT)
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).

Commit Details:

Full Hash: 1966924467c901d541bfe3f510d21a20c29842e3
Parent Commit: 2c9c22d
Lines Changed: +156, -117

4 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt_uv.c (+2, -2) (Diff)
/source/blender/editors/uvedit/uvedit_intern.h (+20, -7) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+127, -101) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+7, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021