Materials: Applied rockn's bugfix in material editor

This commit is contained in:
Yorik van Havre 2015-09-23 19:34:50 -03:00
parent 7b39e233e3
commit 2b172a9f41

View File

@ -239,7 +239,7 @@ class MaterialEditor(QtGui.QDialog):
if filename: if filename:
self.clearEditor() self.clearEditor()
import importFCMat import importFCMat
d = importFCMat.read(filename) d = importFCMat.read(filename[0])
if d: if d:
self.updateContents(d) self.updateContents(d)