From: divverent Date: Wed, 25 Feb 2009 15:41:21 +0000 (+0000) Subject: fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that... X-Git-Tag: svn-r421~221 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=05ec869106552b6f5937a1fa207a71c71f258ac4;p=xonotic%2Fnetradiant.git fix a typo on tjunction.c that makes surface "fixing" ineffective (any surface that has, at one point, two equal vertices gets removed entirely, fixing is performed but the fixed surface is never used) git-svn-id: svn://svn.icculus.org/netradiant/trunk@199 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/tools/quake3/q3map2/tjunction.c b/tools/quake3/q3map2/tjunction.c index 4a590b7f..96210d4d 100644 --- a/tools/quake3/q3map2/tjunction.c +++ b/tools/quake3/q3map2/tjunction.c @@ -544,7 +544,7 @@ qboolean FixBrokenSurface( mapDrawSurface_t *ds ) dist = VectorLength( avg.xyz ); if( dist < DEGENERATE_EPSILON ) { - valid = qfalse; + //valid = qfalse; // no, valid = qfalse is only done if less than 3 verts are left Sys_FPrintf( SYS_VRB, "WARNING: Degenerate T-junction edge found, fixing...\n" ); /* create an average drawvert */