www/gcode_viewer_card.js
This commit is contained in:
@@ -71,12 +71,6 @@ class GcodeViewerCard extends HTMLElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _initThree() {
|
async _initThree() {
|
||||||
try {
|
|
||||||
await import("./three.module.js");
|
|
||||||
} catch (err) {
|
|
||||||
this._setStatus(`Failed to load three.js: ${err.message}`, true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this._threeReady = true;
|
this._threeReady = true;
|
||||||
if (this._attached) {
|
if (this._attached) {
|
||||||
this._ensureBuilt();
|
this._ensureBuilt();
|
||||||
|
|||||||
Reference in New Issue
Block a user