From 912315e693625893b09a8284dbd09f4c1553cdee Mon Sep 17 00:00:00 2001 From: bakedpotatolord Date: Sun, 20 Jul 2025 20:32:39 -0600 Subject: [PATCH] fix bug causing filament used value to not be displayed --- src/kiri/core/export.js | 2 +- web/kiri/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kiri/core/export.js b/src/kiri/core/export.js index 4973ff37..ae3c50cf 100644 --- a/src/kiri/core/export.js +++ b/src/kiri/core/export.js @@ -471,7 +471,7 @@ function exportGCodeDialog(gcode, sections, info, names) { $('print-filament').style.display = fdm ? '' : 'none'; $('print-filename').value = filename; $('print-filesize').value = util.comma(info.bytes); - $('print-filament').value = Math.round(info.distance); + $('print-length').value = Math.round(info.distance); if (set.controller.devel) { $('code-preview-textarea').style.height = "30em"; } diff --git a/web/kiri/index.html b/web/kiri/index.html index cc2f87f8..91431e16 100644 --- a/web/kiri/index.html +++ b/web/kiri/index.html @@ -628,7 +628,7 @@
-
+