From 2b172a9f41094c9849232c0d2d8cdd8cb97c1d7f Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 23 Sep 2015 19:34:50 -0300 Subject: [PATCH] Materials: Applied rockn's bugfix in material editor --- src/Mod/Material/MaterialEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Material/MaterialEditor.py b/src/Mod/Material/MaterialEditor.py index a22a750f2..77f2cf191 100644 --- a/src/Mod/Material/MaterialEditor.py +++ b/src/Mod/Material/MaterialEditor.py @@ -239,7 +239,7 @@ class MaterialEditor(QtGui.QDialog): if filename: self.clearEditor() import importFCMat - d = importFCMat.read(filename) + d = importFCMat.read(filename[0]) if d: self.updateContents(d)