From 376d38e0cf4986f56a7f00f34daf02c9f0100a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 24 Jul 2018 16:28:41 +0200 Subject: [PATCH] Gcodeviewer: remove printed/visited layer counts Apparently it was confusing people and it's not really adding any kind of meaningful information anyhow. --- src/octoprint/static/js/app/viewmodels/gcode.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/gcode.js b/src/octoprint/static/js/app/viewmodels/gcode.js index d2a77e8cc..9da33e59a 100644 --- a/src/octoprint/static/js/app/viewmodels/gcode.js +++ b/src/octoprint/static/js/app/viewmodels/gcode.js @@ -528,9 +528,8 @@ $(function() { } else { var output = []; output.push(gettext("Model size") + ": " + model.width.toFixed(2) + "mm × " + model.depth.toFixed(2) + "mm × " + model.height.toFixed(2) + "mm"); - output.push(gettext("Estimated total print time") + ": " + formatFuzzyPrintTime(model.printTime)); output.push(gettext("Estimated layer height") + ": " + model.layerHeight.toFixed(2) + gettext("mm")); - output.push(gettext("Layer count") + ": " + model.layersPrinted.toFixed(0) + " " + gettext("printed") + ", " + model.layersTotal.toFixed(0) + " " + gettext("visited")); + output.push(gettext("Estimated total print time") + ": " + formatFuzzyPrintTime(model.printTime)); self.ui_modelInfo(output.join("
"));