From 05ec869106552b6f5937a1fa207a71c71f258ac4 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 25 Feb 2009 15:41:21 +0000 Subject: [PATCH] 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 --- tools/quake3/q3map2/tjunction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.2