shx-3d-render

main
Jan Umbach 2024-06-23 12:14:23 +02:00
parent 8435e7259f
commit c121778d29
1 changed files with 8 additions and 0 deletions

View File

@ -669,6 +669,14 @@
}
}
// check if some values are empty ""
for(let key in globalInputFormsObjValues[this.currentVariant]) {
if(globalInputFormsObjValues[this.currentVariant][key] === "") {
console.log("Empty value found", key);
return;
}
}
if(this.Viewer3D)
this.Viewer3D.contentWindow.postMessage(JSON.stringify({"changeView":{"currentVariant": this.currentVariant, values: globalInputFormsObjValues[this.currentVariant]}}), "*");