From bfd847f0a63658ab27b9f3e287c5361f11a670ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 12 Dec 2018 15:16:17 +0100 Subject: [PATCH] GCODE viewer: Bring back the layer count --- src/octoprint/static/js/app/viewmodels/gcode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/static/js/app/viewmodels/gcode.js b/src/octoprint/static/js/app/viewmodels/gcode.js index 522659f97..f6254fe43 100644 --- a/src/octoprint/static/js/app/viewmodels/gcode.js +++ b/src/octoprint/static/js/app/viewmodels/gcode.js @@ -530,6 +530,7 @@ $(function() { output.push(gettext("Model size") + ": " + model.width.toFixed(2) + "mm × " + model.depth.toFixed(2) + "mm × " + model.height.toFixed(2) + "mm"); output.push(gettext("Estimated layer height") + ": " + model.layerHeight.toFixed(2) + gettext("mm")); output.push(gettext("Estimated total print time") + ": " + formatFuzzyPrintTime(model.printTime)); + output.push(gettext("Layers with extrusion") + ": " + model.layersPrinted.toFixed(0)); self.ui_modelInfo(output.join("
"));