- fixed Film Plugin not using the set value in Preferences for the skew type

This commit is contained in:
Marius Stanciu
2022-03-10 16:17:06 +02:00
committed by Marius
parent bcadbf272c
commit e7448eadcb
2 changed files with 2 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ CHANGELOG for FlatCAM beta
- refactored some big methods from the Film Plugin - 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) - `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 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 9.03.2022

View File

@@ -207,6 +207,7 @@ class Film(AppTool):
self.ui.scale_ref_combo.set_value(self.app.options["tools_film_scale_ref"]) 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_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_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.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"]) self.ui.skew_ref_combo.set_value(self.app.options["tools_film_skew_ref"])