Fixed a problem with recentering/snaping the view direction to forward so
the panel can come back.
This commit is contained in:
parent
96eff71a13
commit
347d951bca
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue