1
0
Fork 0

Fixed a problem with recentering/snaping the view direction to forward so

the panel can come back.
This commit is contained in:
curt 2001-07-11 06:00:55 +00:00
parent 96eff71a13
commit 347d951bca

View file

@ -187,7 +187,7 @@ setGoalViewOffset (double offset)
offset -= 360.0;
}
// Snap to center if we are close
if ( fabs( offset ) < 1.0 ) {
if ( fabs(offset) < 1.0 || fabs(offset) > 359.0 ) {
offset = 0.0;
}