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
This commit is contained in:
parent
6a04feabc5
commit
05ec869106
|
|
@ -544,7 +544,7 @@ qboolean FixBrokenSurface( mapDrawSurface_t *ds )
|
||||||
dist = VectorLength( avg.xyz );
|
dist = VectorLength( avg.xyz );
|
||||||
if( dist < DEGENERATE_EPSILON )
|
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" );
|
Sys_FPrintf( SYS_VRB, "WARNING: Degenerate T-junction edge found, fixing...\n" );
|
||||||
|
|
||||||
/* create an average drawvert */
|
/* create an average drawvert */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user