mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:19:24 +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();
|
endAudio();
|
||||||
currentDomain = "no domain";
|
currentDomain = "no domain";
|
||||||
timer = null;
|
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);
|
sleep(300);
|
||||||
toolbar.writeProperty("visible", true);
|
if (!HMD.active) {
|
||||||
|
toolbar.writeProperty("visible", true);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
} else if ((physicsEnabled && (currentProgress >= (TOTAL_LOADING_PROGRESS - EPSILON)))) {
|
} else if ((physicsEnabled && (currentProgress >= (TOTAL_LOADING_PROGRESS - EPSILON)))) {
|
||||||
updateOverlays((physicsEnabled || connectionToDomainFailed));
|
updateOverlays((physicsEnabled || connectionToDomainFailed));
|
||||||
|
|
Loading…
Reference in a new issue