speedup to uv remove doubles.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 Nov 2012 02:58:43 +0000 (02:58 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 Nov 2012 02:58:43 +0000 (02:58 +0000)
commit54ff14c29ded160c05389a0ca08c771aa01a41ab
tree8e2c58490f2bf3baea8fe4def3303e54b6d927d4
parentcc8a43fb22e714953a347533f87402148f48e6e4
speedup to uv remove doubles.
- no need to copy the UV vectors, just point to them.
- calculate the midpoint once and copy rather then mid_v2_v2v2() on each UV.
- reduce the number of comparisons by only checking the remaining uv's in the nested loop.
source/blender/editors/uvedit/uvedit_ops.c