mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
adding toolbar reappearing
This commit is contained in:
parent
db77cbcbc1
commit
afae4f3b96
1 changed files with 7 additions and 1 deletions
|
@ -422,8 +422,14 @@
|
|||
endAudio();
|
||||
currentDomain = "no domain";
|
||||
timer = null;
|
||||
// The toolbar doesn't become visible in time to match the speed of
|
||||
// the signal handling of redirectErrorStateChanged in both this script
|
||||
// and the redirectOverlays.js script. Use a sleep function to ensure
|
||||
// the toolbar becomes visible again.
|
||||
sleep(300);
|
||||
toolbar.writeProperty("visible", true);
|
||||
if (!HMD.active) {
|
||||
toolbar.writeProperty("visible", true);
|
||||
}
|
||||
return;
|
||||
} else if ((physicsEnabled && (currentProgress >= (TOTAL_LOADING_PROGRESS - EPSILON)))) {
|
||||
updateOverlays((physicsEnabled || connectionToDomainFailed));
|
||||
|
|
Loading…
Reference in a new issue