3d-viewer test
parent
f63b414869
commit
169b154906
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue