mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:59:00 +08:00
Fix typing
CURA-8723
This commit is contained in:
parent
064a845f71
commit
fb09e55b02
@ -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.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user