From e7448eadcb35574c77f2b0389b31953b90464361 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 10 Mar 2022 16:17:06 +0200 Subject: [PATCH] - fixed Film Plugin not using the set value in Preferences for the `skew type` --- CHANGELOG.md | 1 + appPlugins/ToolFilm.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdd07451..b3eac63b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ CHANGELOG for FlatCAM beta - refactored some big methods from the Film Plugin - `skew` feature in Film Plugin now have multiple options. `skew` can be done by length, by angle and by ratio (factor) - fixed an issue when importing GCode which made the loaded GCode object un-plotable +- fixed Film Plugin not using the set value in Preferences for the `skew type` 9.03.2022 diff --git a/appPlugins/ToolFilm.py b/appPlugins/ToolFilm.py index 102e49e5..5cc26a7f 100644 --- a/appPlugins/ToolFilm.py +++ b/appPlugins/ToolFilm.py @@ -207,6 +207,7 @@ class Film(AppTool): self.ui.scale_ref_combo.set_value(self.app.options["tools_film_scale_ref"]) self.ui.film_skew_cb.set_value(self.app.options["tools_film_skew_cb"]) + self.ui.film_skew_type_combo.set_value(self.app.options["tools_film_skew_type"]) self.ui.film_skewx_entry.set_value(float(self.app.options["tools_film_skew_x_entry"])) self.ui.film_skewy_entry.set_value(float(self.app.options["tools_film_skew_y_entry"])) self.ui.skew_ref_combo.set_value(self.app.options["tools_film_skew_ref"])