mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Remove 3MF repair message
CURA-1223
This commit is contained in:
parent
437f8f1df7
commit
96ac27d1c3
1 changed files with 3 additions and 10 deletions
|
@ -11,11 +11,6 @@ from UM.Scene.GroupDecorator import GroupDecorator
|
||||||
from UM.Math.Quaternion import Quaternion
|
from UM.Math.Quaternion import Quaternion
|
||||||
from UM.Job import Job
|
from UM.Job import Job
|
||||||
|
|
||||||
from UM.Message import Message
|
|
||||||
from UM.i18n import i18nCatalog
|
|
||||||
catalog = i18nCatalog("cura")
|
|
||||||
|
|
||||||
|
|
||||||
import math
|
import math
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
|
@ -127,8 +122,6 @@ class ThreeMFReader(MeshReader):
|
||||||
boundingBox = result.getBoundingBox()
|
boundingBox = result.getBoundingBox()
|
||||||
boundingBox.isValid()
|
boundingBox.isValid()
|
||||||
except:
|
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 None
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue