From 812eeab07acea4206bcaecc61c2e156f323c05a8 Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Mon, 9 Sep 2019 16:46:46 +0200 Subject: [PATCH] Show infill checkbox only for overhang mesh types --- plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml index 188101817c..3aef3cc69b 100644 --- a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml +++ b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml @@ -158,7 +158,8 @@ Item style: UM.Theme.styles.checkbox; - checked: base.current_mesh_type === base.infill_mesh_type + checked: current_mesh_type === infill_mesh_type + visible: current_mesh_type === infill_mesh_type || current_mesh_type === cutting_mesh_type onClicked: base.setOverhangsMeshType() } }