3d-viewer test

main
Jan Umbach 2024-06-14 11:43:28 +02:00
parent f63b414869
commit 169b154906
1 changed files with 3 additions and 3 deletions

View File

@ -128,8 +128,8 @@
// request data from server
let tJS = this.tJS;
iframe.contentWindow.postMessage(JSON.stringify(globalInputFormsObjValues[this.currentVariant]), "*");
this.Viewer3D.contentWindow.postMessage(JSON.stringify(globalInputFormsObjValues[this.currentVariant]), "*");
/*fetch('https://render.shinnex.de/render/' + this.currentVariant, { method: 'POST', body: JSON.stringify(globalInputFormsObjValues[this.currentVariant]) })
@ -153,7 +153,7 @@
// edit inner html
content.innerHTML = "";
renderView();
this.renderView();
for(let key in globalInputFormsObj) {
if(key === this.currentVariant) {