mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 03:55:08 +02:00
Merge pull request #12627 from samcake/workload-bis
Workload: Disable drawing Workload view by default
This commit is contained in:
commit
39edcb649d
2 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,7 @@ public:
|
||||||
|
|
||||||
bool freezeViews{ false };
|
bool freezeViews{ false };
|
||||||
bool showProxies{ false };
|
bool showProxies{ false };
|
||||||
bool showViews{ true };
|
bool showViews{ false };
|
||||||
signals:
|
signals:
|
||||||
void dirty();
|
void dirty();
|
||||||
|
|
||||||
|
|
|
@ -756,6 +756,9 @@ void CharacterController::updateState() {
|
||||||
SET_STATE(State::Hover, "double jump button");
|
SET_STATE(State::Hover, "double jump button");
|
||||||
} else if ((jumpButtonHeld || vertTargetSpeedIsNonZero) && (now - _jumpButtonDownStartTime) > JUMP_TO_HOVER_PERIOD) {
|
} else if ((jumpButtonHeld || vertTargetSpeedIsNonZero) && (now - _jumpButtonDownStartTime) > JUMP_TO_HOVER_PERIOD) {
|
||||||
SET_STATE(State::Hover, "jump button held");
|
SET_STATE(State::Hover, "jump button held");
|
||||||
|
} else if (_floorDistance > _scaleFactor * DEFAULT_AVATAR_FALL_HEIGHT) {
|
||||||
|
// Transition to hover if we are above the fall threshold
|
||||||
|
SET_STATE(State::Hover, "above fall threshold");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue