fix Material TaskPanel Load Preset not working bug

This commit is contained in:
hoshengwei
2024-09-14 14:01:51 +08:00
committed by Yorik van Havre
parent b4923d1c58
commit 9b63b1b4d9

View File

@@ -515,6 +515,7 @@ class _ArchMaterialTaskPanel:
def chooseMat(self, card):
"sets self.material from a card"
card = self.form.comboBox_MaterialsInDir.currentText()
if card in self.cards:
import importFCMat
self.material = importFCMat.read(self.cards[card])