Fix typing mistake

This commit is contained in:
Jaime van Kessel 2021-12-02 16:02:36 +01:00
parent 569be2c791
commit a49d9748ee

View File

@ -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) -> Optional[Snapshot.snapshot]:
def _createSnapshot(self):
Logger.log("d", "Creating thumbnail image...")
if not CuraApplication.getInstance().isVisible:
Logger.log("w", "Can't create snapshot when renderer not initialized.")