From a00c1f738b63c37507136a2e49047f00456e7243 Mon Sep 17 00:00:00 2001 From: Pedro Lamas Date: Mon, 10 Jul 2023 18:09:05 +0100 Subject: [PATCH] feat: show/hide objects on GcodePreview Signed-off-by: Pedro Lamas --- src/components/widgets/gcode-preview/GcodePreview.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/widgets/gcode-preview/GcodePreview.vue b/src/components/widgets/gcode-preview/GcodePreview.vue index 6f5586a299..0558ef60bb 100644 --- a/src/components/widgets/gcode-preview/GcodePreview.vue +++ b/src/components/widgets/gcode-preview/GcodePreview.vue @@ -103,7 +103,7 @@ /> @@ -391,7 +391,7 @@ export default class GcodePreview extends Mixins(StateMixin, BrowserMixin) { } get showExcludeObjects () { - if (!(this.printerPrinting || this.printerPaused)) return false + if (!this.klippyReady || !(this.printerPrinting || this.printerPaused)) return false const file = this.$store.getters['gcodePreview/getFile'] if (!file) {