diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-09-02 20:26:53 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-09-02 20:26:53 +0300 |
commit | c9a46648dd2a2aead9ee4ae7dfe1c987738c5ef9 (patch) | |
tree | b7a1c61ac4ae84cac742cd19e32d6508c53c88fc | |
parent | 8ade22e986452aac95b75232db2260edc0d1b10a (diff) |
Material overrides need to be based on base_name, not the name
-rw-r--r-- | Cura/util/resources.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cura/util/resources.py b/Cura/util/resources.py index 0841711e0f..b49cca2a8f 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: |