mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-30 18:15:59 +08:00
Merge branch 'master' into feature-backup-manager
* master: Still raise exception when loading incorrect material file
This commit is contained in:
commit
cb11608f98
@ -540,8 +540,7 @@ class XmlMaterialProfile(InstanceContainer):
|
||||
|
||||
validation_message = XmlMaterialValidator.validateMaterialMetaData(meta_data)
|
||||
if validation_message is not None:
|
||||
return
|
||||
# raise Exception("Not valid material profile: %s" % (validation_message))
|
||||
raise Exception("Not valid material profile: %s" % (validation_message))
|
||||
|
||||
property_values = {}
|
||||
properties = data.iterfind("./um:properties/*", self.__namespaces)
|
||||
|
Loading…
x
Reference in New Issue
Block a user