mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Quick CR comments
This commit is contained in:
parent
8ba184db6a
commit
1b414fbbfe
2 changed files with 1 additions and 8 deletions
|
@ -88,13 +88,10 @@ void OverlayConductor::update(float dt) {
|
|||
_hmdMode = false;
|
||||
}
|
||||
|
||||
bool isAtRest = updateAvatarIsAtRest();
|
||||
bool isMoving = !isAtRest;
|
||||
|
||||
bool shouldRecenter = false;
|
||||
|
||||
if (_suppressedByHead) {
|
||||
if (isAtRest) {
|
||||
if (updateAvatarIsAtRest()) {
|
||||
_suppressedByHead = false;
|
||||
shouldRecenter = true;
|
||||
}
|
||||
|
|
|
@ -25,10 +25,6 @@ private:
|
|||
bool headOutsideOverlay() const;
|
||||
bool updateAvatarIsAtRest();
|
||||
|
||||
enum SupressionFlags {
|
||||
SuppressedByHead = 0x01
|
||||
};
|
||||
|
||||
bool _suppressedByHead { false };
|
||||
bool _hmdMode { false };
|
||||
|
||||
|
|
Loading…
Reference in a new issue