From: Youness Alaoui Date: Wed, 2 Sep 2015 17:26:53 +0000 (-0400) Subject: Material overrides need to be based on base_name, not the name X-Git-Tag: lulzbot-16.01~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c9a46648dd2a2aead9ee4ae7dfe1c987738c5ef9;p=cura.git Material overrides need to be based on base_name, not the name --- diff --git a/Cura/util/resources.py b/Cura/util/resources.py index 0841711e..b49cca2a 100644 --- a/Cura/util/resources.py +++ b/Cura/util/resources.py @@ -266,8 +266,9 @@ def getSimpleModeMaterials(): materials.append(material) else: for ini in materials: - if ini.name == material.name: + if ini.base_name == material.base_name: ini.parseDirectory(os.path.split(material_file)[0]) + break materials.sort() for material in materials: