diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-01-18 03:22:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-01-18 03:22:22 +0300 |
commit | c4a155cf398013ee0623cfb5e9a908bb7374cdbf (patch) | |
tree | 3c345550df7c4669b1f7de9a66bc8295af8d48c4 /release | |
parent | 1395d7166cab8a4306a6cbaf9ea5c49c95c3e916 (diff) |
fixed seam tearing with edge collapsing, should be last commit ;)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/bpydata/mesh_bbrush.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/bpydata/mesh_bbrush.py b/release/scripts/bpydata/mesh_bbrush.py index 88b7e00c74d..a3c78facc40 100644 --- a/release/scripts/bpydata/mesh_bbrush.py +++ b/release/scripts/bpydata/mesh_bbrush.py @@ -837,6 +837,11 @@ def event_main(): for ed in me.edges: if (not ed.v1.sel) and (not ed.v1.sel): + if XPLANE_CLIP: + # If 1 vert is on the edge and abother is off dont collapse edge. + if (abs(ed.v1.co.x) < 0.001) !=\ + (abs(ed.v2.co.x) < 0.001): + continue l = (ed.v1.co - ed.v2.co).length if l < RESOLUTION_MIN: ed.v1.sel = ed.v2.sel = 1 |