diff --git a/src/packager/packager.js b/src/packager/packager.js index 7b9db77a..606034da 100644 --- a/src/packager/packager.js +++ b/src/packager/packager.js @@ -1585,6 +1585,9 @@ cd "$(dirname "$0")" }); if (vm.renderer.setMaxTextureDimension) vm.renderer.setMaxTextureDimension(${this.options.maxTextureDimension}); + // enforcePrivacy threat model only makes sense in the editor + if (vm.runtime.setEnforcePrivacy) vm.runtime.setEnforcePrivacy(false); + if (typeof ScaffoldingAddons !== 'undefined') { ScaffoldingAddons.run(scaffolding, ${JSON.stringify(this.getAddonOptions())}); }