From: Rudolf Polzer Date: Wed, 1 Sep 2010 05:52:20 +0000 (+0200) Subject: another debug print X-Git-Tag: xonotic-v0.5.0~226 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=526654d3dd5b9a7670c3268b9aa787ecaf4b9b90;p=xonotic%2Fnetradiant.git another debug print --- diff --git a/tools/quake3/q3map2/surface_meta.c b/tools/quake3/q3map2/surface_meta.c index 8b68ce77..c077dcee 100644 --- a/tools/quake3/q3map2/surface_meta.c +++ b/tools/quake3/q3map2/surface_meta.c @@ -483,6 +483,11 @@ int MaxAreaIndexes(bspDrawVert_t *vert, int cnt, int *indexes) } } + /* + if(bestV < 0) + printf("value was REALLY bad\n"); + */ + if(bestA < TINY_AREA) /* the biggest triangle is degenerate - then every other is too, and the other algorithms wouldn't generate anything useful either */ return 0;