From: namespace Date: Fri, 26 Jan 2007 19:03:29 +0000 (+0000) Subject: SnapPlane reenabled by namespace because of multiple reports of X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c4428d07b4cfdc830b233f11bcdc28068057ac8c;p=xonotic%2Fnetradiant.git SnapPlane reenabled by namespace because of multiple reports of q3map2-crashes which were triggered by this patch. git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@142 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/CHANGES b/CHANGES index 18c88211..721d4cdb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,11 @@ This is the changelog for developers, != changelog for the end user that we distribute with the binaries. (see changelog) +26/01/2007 +namespace +- SnapPlane reenabled by namespace because of multiple reports of + q3map2-crashes which were triggered by this patch. + 24/01/2007 namespace - Added Undo/Redo-Toolbarbuttons (Shaderman) diff --git a/tools/quake3/q3map2/map.c b/tools/quake3/q3map2/map.c index 35088104..9ed0abde 100644 --- a/tools/quake3/q3map2/map.c +++ b/tools/quake3/q3map2/map.c @@ -189,12 +189,14 @@ void SnapPlane( vec3_t normal, vec_t *dist ) // SnapPlane disabled by LordHavoc because it often messes up collision // brushes made from triangles of embedded models, and it has little effect // on anything else (axial planes are usually derived from snapped points) -#if 0 +/* + SnapPlane reenabled by namespace because of multiple reports of + q3map2-crashes which were triggered by this patch. +*/ SnapNormal( normal ); if( fabs( *dist - Q_rint( *dist ) ) < distanceEpsilon ) *dist = Q_rint( *dist ); -#endif }