mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Fix typing
CURA-8723
This commit is contained in:
parent
064a845f71
commit
fb09e55b02
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ class ThreeMFWriter(MeshWriter):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@call_on_qt_thread # must be called from the main thread because of OpenGL
|
@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...")
|
Logger.log("d", "Creating thumbnail image...")
|
||||||
if not CuraApplication.getInstance().isVisible:
|
if not CuraApplication.getInstance().isVisible:
|
||||||
Logger.log("w", "Can't create snapshot when renderer not initialized.")
|
Logger.log("w", "Can't create snapshot when renderer not initialized.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue