gcode-preview
gcode-preview copied to clipboard
Error when no build volume is defined
When no buildvolume property is present in defaultSettings, the preview will not load.
This is because if this vue binding v-model="settings.buildVolume.x".
But on the other hand we want the defaultSettings to map 1:1 to the options supplied to the preview, where unsetting the buildvolume is the way to not render it.
app.js:239 TypeError: Cannot read properties of undefined (reading 'x')
at Proxy.render (eval at ux (vue.esm-browser.js:9:320), <anonymous>:206:71)
at i3 (vue.esm-browser.js:5:64858)
at ek.a [as fn] (vue.esm-browser.js:5:54759)
at ek.run (vue.esm-browser.js:5:7255)
at H (vue.esm-browser.js:5:55125)
at U (vue.esm-browser.js:5:53357)
at V (vue.esm-browser.js:5:53172)
at x (vue.esm-browser.js:5:50125)
at es (vue.esm-browser.js:5:59661)
at mount (vue.esm-browser.js:5:60485)