Showing the changes to interface/src/ui/OverlayConductor.cpp (1 of 1 file). Show all
Unified · Split
| @@ -123,7 +123,9 @@ void OverlayConductor::update(float dt) { · 122 unmodified lines | |||
| 123 | if (_flags & SuppressedByDrive) { | 123 | if (_flags & SuppressedByDrive) { |
| 124 | if (!isDriving) { | 124 | if (!isDriving) { |
| 125 | _flags &= ~SuppressedByDrive; | 125 | _flags &= ~SuppressedByDrive; |
| 126 | shouldRecenter = true; | 126 | if (_flags & SuppressMask) { |
| 127 | shouldRecenter = true; | ||
| 128 | } | ||
| 127 | } | 129 | } |
| 128 | } else { | 130 | } else { |
| 129 | if (myAvatar->getClearOverlayWhenMoving() && drivingChanged && isDriving) { | 131 | if (myAvatar->getClearOverlayWhenMoving() && drivingChanged && isDriving) { |
| @@ -134,7 +136,9 @@ void OverlayConductor::update(float dt) { · 4 unmodified lines | |||
| 134 | if (_flags & SuppressedByHead) { | 136 | if (_flags & SuppressedByHead) { |
| 135 | if (isAtRest) { | 137 | if (isAtRest) { |
| 136 | _flags &= ~SuppressedByHead; | 138 | _flags &= ~SuppressedByHead; |
| 137 | shouldRecenter = true; | 139 | if (_flags & SuppressMask) { |
| 140 | shouldRecenter = true; | ||
| 141 | } | ||
| 138 | } | 142 | } |
| 139 | } else { | 143 | } else { |
| 140 | if (_hmdMode && headOutsideOverlay()) { | 144 | if (_hmdMode && headOutsideOverlay()) { |