From 8f774df30b36f8095a5be2dc3f506915641d66e9 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sun, 25 Sep 2022 05:57:35 +0300 Subject: [PATCH] - small fix in ToolCutout Plugin when trying to set a checkbox state with a float value which still works in Windows but creates issues in other OS's --- CHANGELOG.md | 1 + appPlugins/ToolCutOut.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51058606..b8c77c19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG for FlatCAM Evo beta 25.09.2022 - added a new setting in Preferences ("3D compatibility") controlled by a checkbox. If the checkbox is checked then multithreading is disabled for the 3D mode (lower performance but perhaps more compatibility, especially for Linux) - this was done from the research done by Matti Eiden on bitbucket +- small fix in ToolCutout Plugin when trying to set a checkbox state with a float value which still works in Windows but creates issues in other OS's 10.09.2022 diff --git a/appPlugins/ToolCutOut.py b/appPlugins/ToolCutOut.py index 330052c8..9956d843 100644 --- a/appPlugins/ToolCutOut.py +++ b/appPlugins/ToolCutOut.py @@ -379,7 +379,7 @@ class CutOut(AppTool): self.ui.gaps.set_value(tool_dict["tools_cutout_gaps_ff"]) self.ui.cutz_entry.set_value(float(tool_dict["tools_cutout_z"])) - self.ui.mpass_cb.set_value(float(tool_dict["tools_cutout_mdepth"])) + self.ui.mpass_cb.set_value(bool(tool_dict["tools_cutout_mdepth"])) self.ui.maxdepth_entry.set_value(float(tool_dict["tools_cutout_depthperpass"])) def on_cutout_type(self, val):