mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix snapshot
This commit is contained in:
parent
5fb08d0d9c
commit
9df79462ad
1 changed files with 4 additions and 4 deletions
|
@ -450,7 +450,7 @@ function takeSnapshot() {
|
|||
maybeDeleteSnapshotStories();
|
||||
|
||||
// update button states
|
||||
resetOverlays = Menu.isOptionChecked("Overlays"); // For completeness. Certainly true if the button is visible to be clicked.
|
||||
resetOverlays = Menu.isOptionChecked("Show Overlays"); // For completeness. Certainly true if the button is visible to be clicked.
|
||||
reticleVisible = Reticle.visible;
|
||||
Reticle.visible = false;
|
||||
if (!HMD.active) {
|
||||
|
@ -470,7 +470,7 @@ function takeSnapshot() {
|
|||
|
||||
// hide overlays if they are on
|
||||
if (resetOverlays) {
|
||||
Menu.setIsOptionChecked("Overlays", false);
|
||||
Menu.setIsOptionChecked("Show Overlays", false);
|
||||
}
|
||||
|
||||
var snapActivateSound = SoundCache.getSound(Script.resourcesPath() + "sounds/snapshot/snap.wav");
|
||||
|
@ -527,7 +527,7 @@ function stillSnapshotTaken(pathStillSnapshot, notify) {
|
|||
Reticle.allowMouseCapture = true;
|
||||
// show overlays if they were on
|
||||
if (resetOverlays) {
|
||||
Menu.setIsOptionChecked("Overlays", true);
|
||||
Menu.setIsOptionChecked("Show Overlays", true);
|
||||
}
|
||||
Window.stillSnapshotTaken.disconnect(stillSnapshotTaken);
|
||||
if (!buttonConnected) {
|
||||
|
@ -583,7 +583,7 @@ function processingGifStarted(pathStillSnapshot) {
|
|||
Reticle.allowMouseCapture = true;
|
||||
// show overlays if they were on
|
||||
if (resetOverlays) {
|
||||
Menu.setIsOptionChecked("Overlays", true);
|
||||
Menu.setIsOptionChecked("Show Overlays", true);
|
||||
}
|
||||
Settings.setValue("previousStillSnapPath", pathStillSnapshot);
|
||||
|
||||
|
|
Loading…
Reference in a new issue