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.
This commit is contained in:
Brecht Van Lommel 2014-01-20 18:49:09 +01:00
parent 8506e3a78c
commit 4c6a72a7d8
Notes: blender-bot 2023-02-14 11:19:17 +01:00
Referenced by issue #38283, Mass unwrapping of mesh pieces leads to some islands with bow-tie unwraps.
1 changed files with 1 additions and 1 deletions

View File

@ -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)