diff --git a/CHANGELOG.md b/CHANGELOG.md index 98371c51..a7daf1f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta ================================================= +13.02.2022 + +- fixed issue when doing a custom origin set + 11.02.2022 - a new feature that when selecting an object in the Project Tab, that object is redrawn over the other objects, in top position. Feature controlled from Preferences -> Gerber -> General. diff --git a/appPlugins/__init__.py b/appPlugins/__init__.py index 98bce482..a2cb50d0 100644 --- a/appPlugins/__init__.py +++ b/appPlugins/__init__.py @@ -9,7 +9,8 @@ from appPlugins.ToolFilm import Film try: from appPlugins.ToolImage import ToolImage -except ImportError: +except ImportError as err: + # print(str(err)) pass from appPlugins.ToolDistance import Distance diff --git a/app_Main.py b/app_Main.py index a9059286..5f53b39a 100644 --- a/app_Main.py +++ b/app_Main.py @@ -2020,7 +2020,8 @@ class App(QtCore.QObject): self.image_tool.install(icon=QtGui.QIcon(self.resource_location + '/image32.png'), pos=self.ui.menufileimport, separator=True) - except Exception: + except Exception as err: + self.log.error("Image Import plugin could not be started due of: %s" % str(err)) self.image_tool = lambda x: None self.pcb_wizard_tool = PcbWizard(self) @@ -5437,9 +5438,9 @@ class App(QtCore.QObject): y = 0 - pos[1] if use_thread is True: - self.worker_task.emit({'fcn': worker_task, 'params': []}) + self.worker_task.emit({'fcn': worker_task, 'params': [self]}) else: - worker_task() + worker_task(self) self.should_we_save = True elif event is not None and event.button == right_button: if self.ui.popMenu.mouse_is_panning is False: @@ -9125,9 +9126,7 @@ class App(QtCore.QObject): new_line_color = sel_obj.outline_color sel_obj.alpha_level = alpha_str sel_obj.fill_color = new_color - sel_obj.shapes.redraw( - update_colors=(sel_obj.fill_color, sel_obj.outline_color) - ) + sel_obj.shapes.redraw(update_colors=(new_color, new_line_color)) if sel_obj.kind == 'gerber': item = sel_obj.item