Removed debugging code
This commit is contained in:
@@ -519,14 +519,11 @@ module.exports = {
|
|||||||
|
|
||||||
this.showGcodeMessage = true;
|
this.showGcodeMessage = true;
|
||||||
|
|
||||||
let done;
|
let done = false;
|
||||||
while (!done) {
|
while (!done) {
|
||||||
const toolpath = await api.get(`path/${file}`);
|
const toolpath = await api.get(`path/${file}`);
|
||||||
|
|
||||||
console.log("toolpath progress: ", toolpath.progress);
|
|
||||||
|
|
||||||
if (typeof toolpath.progress == 'undefined') {
|
if (typeof toolpath.progress == 'undefined') {
|
||||||
console.log("done loading toolpath");
|
|
||||||
done = true;
|
done = true;
|
||||||
toolpath.filename = file;
|
toolpath.filename = file;
|
||||||
this.toolpath_progress = 1;
|
this.toolpath_progress = 1;
|
||||||
@@ -540,7 +537,6 @@ module.exports = {
|
|||||||
Vue.set(state, 'path_max_' + axis, bounds.max[axis]);
|
Vue.set(state, 'path_max_' + axis, bounds.max[axis]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("Still loading toolpath");
|
|
||||||
this.toolpath_progress = toolpath.progress;
|
this.toolpath_progress = toolpath.progress;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user