From fb09e55b0215b77fab784f6244823a7b465448b8 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 2 Dec 2021 15:07:50 +0100 Subject: [PATCH] Fix typing CURA-8723 --- plugins/3MFWriter/ThreeMFWriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py index 6fd03361b7..42b03835dc 100644 --- a/plugins/3MFWriter/ThreeMFWriter.py +++ b/plugins/3MFWriter/ThreeMFWriter.py @@ -234,7 +234,7 @@ class ThreeMFWriter(MeshWriter): return True @call_on_qt_thread # must be called from the main thread because of OpenGL - def _createSnapshot(self) -> None: + def _createSnapshot(self) -> Optional[Snapshot.snapshot]: Logger.log("d", "Creating thumbnail image...") if not CuraApplication.getInstance().isVisible: Logger.log("w", "Can't create snapshot when renderer not initialized.")