We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da71d56 commit 2489285Copy full SHA for 2489285
app.html
@@ -666,7 +666,6 @@
666
.then(res => res.json())
667
.then(scenesJson => {
668
return s => {
669
- console.log("scenes.json");
670
const maxResults = 12;
671
if (s) {
672
const regexps = s.split(/\s/).filter(s => !!s).map(s => new RegExp(escapeRegExp(s), 'i'));
@@ -3690,6 +3689,15 @@
3690
3689
} else {
3691
console.log('paste fail');
3692
}
+ } else if (id === 'action-load-scene') {
3693
+ window.parentPostMessage({
3694
+ method: 'loadScene',
3695
+ });
3696
+ } else if (id === 'action-save-scene') {
3697
3698
+ method: 'saveScene',
3699
+ html: root.outerHTML,
3700
3701
} else if (href) {
3702
const xrIframe = document.createElement('xr-iframe');
3703
xrIframe.src = href;
0 commit comments