forked from bartvdbraak/blender
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:
parent
8506e3a78c
commit
4c6a72a7d8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user