Quick CR comments

This commit is contained in:
Zach Fox 2018-06-27 15:11:59 -07:00
parent 8ba184db6a
commit 1b414fbbfe
2 changed files with 1 additions and 8 deletions

View file

@ -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;
}

View file

@ -25,10 +25,6 @@ private:
bool headOutsideOverlay() const;
bool updateAvatarIsAtRest();
enum SupressionFlags {
SuppressedByHead = 0x01
};
bool _suppressedByHead { false };
bool _hmdMode { false };