We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1036313 commit 84d413aCopy full SHA for 84d413a
app.html
@@ -673,7 +673,6 @@
673
.then(res => res.json())
674
.then(scenesJson => {
675
return s => {
676
- console.log("scenes.json");
677
const maxResults = 12;
678
if (s) {
679
const regexps = s.split(/\s/).filter(s => !!s).map(s => new RegExp(escapeRegExp(s), 'i'));
@@ -3746,6 +3745,15 @@
3746
3745
} else {
3747
console.log('paste fail');
3748
}
+ } else if (id === 'action-load-scene') {
3749
+ window.parentPostMessage({
3750
+ method: 'loadScene',
3751
+ });
3752
+ } else if (id === 'action-save-scene') {
3753
3754
+ method: 'saveScene',
3755
+ html: root.outerHTML,
3756
3757
} else if (href) {
3758
const xrIframe = document.createElement('xr-iframe');
3759
xrIframe.src = href;
0 commit comments