mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
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:
parent
c49623fe5c
commit
61cca6db45
2 changed files with 9 additions and 2 deletions
5
CHANGES
5
CHANGES
|
@ -1,6 +1,11 @@
|
||||||
This is the changelog for developers, != changelog for the end user
|
This is the changelog for developers, != changelog for the end user
|
||||||
that we distribute with the binaries. (see changelog)
|
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
|
24/01/2007
|
||||||
namespace
|
namespace
|
||||||
- Added Undo/Redo-Toolbarbuttons (Shaderman)
|
- Added Undo/Redo-Toolbarbuttons (Shaderman)
|
||||||
|
|
|
@ -189,12 +189,14 @@ void SnapPlane( vec3_t normal, vec_t *dist )
|
||||||
// SnapPlane disabled by LordHavoc because it often messes up collision
|
// SnapPlane disabled by LordHavoc because it often messes up collision
|
||||||
// brushes made from triangles of embedded models, and it has little effect
|
// brushes made from triangles of embedded models, and it has little effect
|
||||||
// on anything else (axial planes are usually derived from snapped points)
|
// 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 );
|
SnapNormal( normal );
|
||||||
|
|
||||||
if( fabs( *dist - Q_rint( *dist ) ) < distanceEpsilon )
|
if( fabs( *dist - Q_rint( *dist ) ) < distanceEpsilon )
|
||||||
*dist = Q_rint( *dist );
|
*dist = Q_rint( *dist );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue