mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:38:59 +08:00
fixing comment
CURA-11617 CURA-11624
This commit is contained in:
parent
3c305bb289
commit
e99d5eb906
@ -178,7 +178,7 @@ class ThreeMFWriter(MeshWriter):
|
|||||||
# Load the icon png image
|
# Load the icon png image
|
||||||
icon_image = QImage(Resources.getPath(Resources.Images, "cura-share.png"))
|
icon_image = QImage(Resources.getPath(Resources.Images, "cura-share.png"))
|
||||||
|
|
||||||
# Resize icon_image to be 1/3 of primary_image size
|
# Resize icon_image to be 1/4 of primary_image size
|
||||||
new_width = int(primary_image.width() / 4)
|
new_width = int(primary_image.width() / 4)
|
||||||
new_height = int(primary_image.height() / 4)
|
new_height = int(primary_image.height() / 4)
|
||||||
icon_image = icon_image.scaled(new_width, new_height, Qt.AspectRatioMode.KeepAspectRatio)
|
icon_image = icon_image.scaled(new_width, new_height, Qt.AspectRatioMode.KeepAspectRatio)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user