shx-3d-render

main
Jan Umbach 2024-06-19 20:42:22 +02:00
parent 1b2797f1d7
commit 0e6aff343f
1 changed files with 4 additions and 2 deletions

View File

@ -223,6 +223,8 @@
// Clean up the element when it is removed from the DOM. // Clean up the element when it is removed from the DOM.
} }
renderView() { renderView() {
// request data from server // request data from server
let tJS = this.tJS; let tJS = this.tJS;
@ -250,8 +252,8 @@
} }
} }
if(this.Viewer3D)
this.Viewer3D.contentWindow.postMessage(JSON.stringify({"changeView":{"currentVariant": this.currentVariant, values: globalInputFormsObjValues[this.currentVariant]}}), "*"); this.Viewer3D.contentWindow.postMessage(JSON.stringify({"changeView":{"currentVariant": this.currentVariant, values: globalInputFormsObjValues[this.currentVariant]}}), "*");
this.Viewer3DContainer.querySelector('.shx-loading-spinner-container').classList.remove('shx-loading-spinner-container-done'); this.Viewer3DContainer.querySelector('.shx-loading-spinner-container').classList.remove('shx-loading-spinner-container-done');