mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-21 21:27:56 +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;
|
||||
updateProgress({
|
||||
action: 'Uploading to printer',
|
||||
percentage: (currentStep + loaded / file.size) / steps
|
||||
percentage: (currentStep + loaded / gcode.size) / steps
|
||||
});
|
||||
}, 1000);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user