mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 19:23:04 +02:00
Fix paths to various Snapshot resource files
This commit is contained in:
parent
4c0a0a84fa
commit
95ee3c82f5
3 changed files with 5 additions and 5 deletions
|
@ -275,7 +275,7 @@ function onMessage(message) {
|
|||
}
|
||||
}
|
||||
|
||||
var POLAROID_PRINT_SOUND = SoundCache.getSound(Script.resolvePath("assets/sounds/sound-print-photo.wav"));
|
||||
var POLAROID_PRINT_SOUND = SoundCache.getSound(Script.resourcesPath() + "sounds/snapshot/sound-print-photo.wav");
|
||||
var POLAROID_MODEL_URL = 'http://hifi-content.s3.amazonaws.com/alan/dev/Test/snapshot.fbx';
|
||||
|
||||
function printToPolaroid(image_url) {
|
||||
|
@ -347,7 +347,7 @@ function fillImageDataFromPrevious() {
|
|||
story_id: previousStillSnapStoryID,
|
||||
blastButtonDisabled: previousStillSnapBlastingDisabled,
|
||||
hifiButtonDisabled: previousStillSnapHifiSharingDisabled,
|
||||
errorPath: Script.resolvePath(Script.resourcesPath() + 'snapshot/img/no-image.jpg')
|
||||
errorPath: Script.resourcesPath() + 'snapshot/img/no-image.jpg'
|
||||
});
|
||||
}
|
||||
if (previousAnimatedSnapPath !== "") {
|
||||
|
@ -356,7 +356,7 @@ function fillImageDataFromPrevious() {
|
|||
story_id: previousAnimatedSnapStoryID,
|
||||
blastButtonDisabled: previousAnimatedSnapBlastingDisabled,
|
||||
hifiButtonDisabled: previousAnimatedSnapHifiSharingDisabled,
|
||||
errorPath: Script.resolvePath(Script.resourcesPath() + 'snapshot/img/no-image.jpg')
|
||||
errorPath: Script.resourcesPath() + 'snapshot/img/no-image.jpg'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -473,7 +473,7 @@ function takeSnapshot() {
|
|||
Menu.setIsOptionChecked("Overlays", false);
|
||||
}
|
||||
|
||||
var snapActivateSound = SoundCache.getSound(Script.resolvePath("../../resources/sounds/snap.wav"));
|
||||
var snapActivateSound = SoundCache.getSound(Script.resourcesPath() + "sounds/snapshot/snap.wav");
|
||||
|
||||
// take snapshot (with no notification)
|
||||
Script.setTimeout(function () {
|
||||
|
@ -596,7 +596,7 @@ function processingGifStarted(pathStillSnapshot) {
|
|||
snapshotOptions = {
|
||||
containsGif: true,
|
||||
processingGif: true,
|
||||
loadingGifPath: Script.resolvePath(Script.resourcesPath() + 'icons/loadingDark.gif'),
|
||||
loadingGifPath: Script.resourcesPath() + 'icons/loadingDark.gif',
|
||||
canShare: canShare,
|
||||
isLoggedIn: isLoggedIn
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue