fix Material TaskPanel Load Preset not working bug

This commit is contained in:
hoshengwei
2024-09-16 10:04:00 +02:00
committed by Yorik van Havre
parent 756d1a0a80
commit fa9d92a819
+1
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])