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
This commit is contained in:
namespace 2007-01-26 19:03:29 +00:00
parent c49623fe5c
commit 61cca6db45
2 changed files with 9 additions and 2 deletions

View file

@ -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)

View 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)
#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
}