diff --git a/unpublishedScripts/marketplace/shapes/modules/preload.js b/unpublishedScripts/marketplace/shapes/modules/preload.js index 8ffc8dcce3..e93ef9ac71 100644 --- a/unpublishedScripts/marketplace/shapes/modules/preload.js +++ b/unpublishedScripts/marketplace/shapes/modules/preload.js @@ -34,8 +34,10 @@ Preload = (function () { for (property in item) { if (item.hasOwnProperty(property)) { - if (property === "url") { - urls.push(item.url); + if (property === "url" || property === "imageURL" || property === "imageOverlayURL") { + if (item[property]) { + urls.push(item[property]); + } } else if (typeof item[property] === "object") { findURLsInObject(item[property]); } @@ -95,6 +97,14 @@ Preload = (function () { ignoreRayIntersection: true, alpha: 0.0, visible: false + }, + png: { + overlay: "image3d", + scale: 0.001, + position: DOMAIN_CORNER, + ignoreRayIntersection: true, + alpha: 0.0, + visible: false } }, fileType,