mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Revert "Enable prime tower mode according to materials types"
This reverts commit 335a54c6d1
.
This commit is contained in:
parent
5f884c737b
commit
b99762776e
2 changed files with 8 additions and 27 deletions
|
@ -579,9 +579,8 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
|
||||
meta_data[tag_name] = entry.text
|
||||
|
||||
for tag_name, value in meta_data.items():
|
||||
if tag_name in self.__material_metadata_setting_map:
|
||||
common_setting_values[self.__material_metadata_setting_map[tag_name]] = value
|
||||
if tag_name in self.__material_metadata_setting_map:
|
||||
common_setting_values[self.__material_metadata_setting_map[tag_name]] = entry.text
|
||||
|
||||
if "description" not in meta_data:
|
||||
meta_data["description"] = ""
|
||||
|
@ -1223,9 +1222,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
"diameter": "material_diameter"
|
||||
}
|
||||
__material_metadata_setting_map = {
|
||||
"GUID": "material_guid",
|
||||
"material": "material_type",
|
||||
"brand": "material_brand",
|
||||
"GUID": "material_guid"
|
||||
}
|
||||
|
||||
# Map of recognised namespaces with a proper prefix.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue