mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:39:01 +08:00
Remove 3MF repair message
CURA-1223
This commit is contained in:
parent
437f8f1df7
commit
96ac27d1c3
@ -11,11 +11,6 @@ from UM.Scene.GroupDecorator import GroupDecorator
|
||||
from UM.Math.Quaternion import Quaternion
|
||||
from UM.Job import Job
|
||||
|
||||
from UM.Message import Message
|
||||
from UM.i18n import i18nCatalog
|
||||
catalog = i18nCatalog("cura")
|
||||
|
||||
|
||||
import math
|
||||
import zipfile
|
||||
|
||||
@ -123,12 +118,10 @@ class ThreeMFReader(MeshReader):
|
||||
except Exception as e:
|
||||
Logger.log("e", "exception occured in 3mf reader: %s", e)
|
||||
|
||||
try: # Selftest - There might be more functions that should fail
|
||||
try: # Selftest - There might be more functions that should fail
|
||||
boundingBox = result.getBoundingBox()
|
||||
boundingBox.isValid()
|
||||
except:
|
||||
message = Message(catalog.i18nc("@info:status", "Your 3MF file seems to be broken. Please visit https://modelrepair.azurewebsites.net/ and try to repair your model!"), lifetime = 0)
|
||||
message.show()
|
||||
return None
|
||||
|
||||
return result
|
||||
|
||||
return result
|
||||
|
Loading…
x
Reference in New Issue
Block a user