Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-20 21:49:09 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-20 21:49:09 +0400
commit4c6a72a7d8102b93307c13eedd81ecf0c6051d8b (patch)
tree284ff53cd1617530153f183a400219b3a5818a91 /source/blender/editors/uvedit/uvedit_parametrizer.c
parent8506e3a78c9955937bbe386b594aeb224bc9f380 (diff)
Fix T38283: UV unwrap giving wrong results with particular meshes.
LSCM auto pinning where it picks two vertices on opposite sides of the outer UV island boundary would in some cases give the same 3D coordinate, which causes UV unwrap to give poor results.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 66e4c01f9d0..40d2cc7dcd2 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -2956,7 +2956,7 @@ static PBool p_chart_symmetry_pins(PChart *chart, PEdge *outer, PVert **pin1, PV
p_chart_pin_positions(chart, pin1, pin2);
- return P_TRUE;
+ return !equals_v3v3((*pin1)->co, (*pin2)->co);
}
static void p_chart_extrema_verts(PChart *chart, PVert **pin1, PVert **pin2)