diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-06-11 00:06:41 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-06-11 00:06:41 +0400 |
commit | 56e2aa700117a246cb8bd4130e8b4ca65a3d0089 (patch) | |
tree | ce4c099285779e526e0e8787c5bdb1aed68fa48e /source/blender/src/parametrizer.c | |
parent | c4229b0272ac223e3723773321ce9263ef858607 (diff) |
Fix for bug #4276: LSCM unwrap crash.
Set ABF as default unwrapper.
Disable some debugging prints in unwrapper code.
Diffstat (limited to 'source/blender/src/parametrizer.c')
-rw-r--r-- | source/blender/src/parametrizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/parametrizer.c b/source/blender/src/parametrizer.c index 65ebdd68e2d..68cb287b4c0 100644 --- a/source/blender/src/parametrizer.c +++ b/source/blender/src/parametrizer.c @@ -2661,7 +2661,7 @@ static PBool p_chart_symmetry_pins(PChart *chart, PEdge *outer, PVert **pin1, PV } } - if (!maxe1 || (maxlen < 0.5f*totlen)) + if (!maxe1 || !maxe2 || (maxlen < 0.5f*totlen)) return P_FALSE; /* find pin1 in the split vertices */ |