From 61cca6db45d0c7e0c49e41dd26854c2b3b171e3f Mon Sep 17 00:00:00 2001 From: namespace Date: Fri, 26 Jan 2007 19:03:29 +0000 Subject: [PATCH] SnapPlane reenabled by namespace because of multiple reports of q3map2-crashes which were triggered by this patch. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@142 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- CHANGES | 5 +++++ tools/quake3/q3map2/map.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 } -- 2.39.2