mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 13:37:58 +01:00
fix percentage of malyan printer
This commit is contained in:
parent
264ea9ff00
commit
97cb6e062d
@ -214,7 +214,7 @@ export async function slice(action, name, mesh, settings, updateProgress) {
|
|||||||
loaded += 15 * 1024;
|
loaded += 15 * 1024;
|
||||||
updateProgress({
|
updateProgress({
|
||||||
action: 'Uploading to printer',
|
action: 'Uploading to printer',
|
||||||
percentage: (currentStep + loaded / file.size) / steps
|
percentage: (currentStep + loaded / gcode.size) / steps
|
||||||
});
|
});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user