]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
SnapPlane reenabled by namespace because of multiple reports of
authornamespace <namespace>
Fri, 26 Jan 2007 19:03:29 +0000 (19:03 +0000)
committernamespace <namespace>
Fri, 26 Jan 2007 19:03:29 +0000 (19:03 +0000)
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
tools/quake3/q3map2/map.c

diff --git a/CHANGES b/CHANGES
index 18c88211c6751b19916fe9a04cd4c9fa85cfa043..721d4cdbc1ac7dc5333639a97ce7a4cf3afb28b5 100644 (file)
--- 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)
 
 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)
 24/01/2007
 namespace
 - Added Undo/Redo-Toolbarbuttons (Shaderman)
index 35088104d7aaf52a34afc5f0dcc31e37f9f4dfe9..9ed0abdefbae3cafa307aeb046acf6ce14d87cea 100644 (file)
@@ -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)
 // 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 );
        SnapNormal( normal );
 
        if( fabs( *dist - Q_rint( *dist ) ) < distanceEpsilon )
                *dist = Q_rint( *dist );
-#endif
 }
 
 
 }