From be5625c1b8cedab03ef8bb02e260363d8b632003 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 14 Oct 2023 20:23:36 -0400 Subject: [PATCH] Support atex files, which are just textures --- sagasu/src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sagasu/src/mainwindow.cpp b/sagasu/src/mainwindow.cpp index 85fbfca..a21e5c2 100644 --- a/sagasu/src/mainwindow.cpp +++ b/sagasu/src/mainwindow.cpp @@ -91,7 +91,7 @@ void MainWindow::refreshParts(QString path) auto mdlWidget = new MDLPart(data, fileCache); mdlWidget->addModel(physis_mdl_parse(file), QStringLiteral("mdl"), {}, 0); partHolder->addTab(mdlWidget, QStringLiteral("Model")); - } else if (info.completeSuffix() == QStringLiteral("tex")) { + } else if (info.completeSuffix() == QStringLiteral("tex") || info.completeSuffix() == QStringLiteral("atex")) { auto texWidget = new TexPart(data); texWidget->load(file); partHolder->addTab(texWidget, QStringLiteral("Texture"));