diff --git a/src/Mod/Fem/MechanicalMaterial.py b/src/Mod/Fem/MechanicalMaterial.py index 5e5856c754..7439ea1ac3 100644 --- a/src/Mod/Fem/MechanicalMaterial.py +++ b/src/Mod/Fem/MechanicalMaterial.py @@ -225,7 +225,6 @@ class _MechanicalMaterialTaskPanel: def fillMaterialCombo(self): import glob import os - matmap = self.obj.Material dirname = FreeCAD.getResourceDir()+"/Mod/Material/StandardMaterial" self.pathList = glob.glob(dirname + '/*.FCMat') self.form.comboBox_MaterialsInDir.clear()