1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-06-06 13:17:46 +00:00

Give a name to the model in the material view

This commit is contained in:
Joshua Goins 2025-06-02 21:48:58 -04:00
parent 4676653c84
commit 2fee10e9c2

View file

@ -39,7 +39,7 @@ void MaterialView::addSphere(physis_Material material)
std::string skelNameStd = skelName.toStdString();
mdlPart->setSkeleton(physis_parse_skeleton(physis_gamedata_extract_file(data, skelNameStd.c_str())));
mdlPart->addModel(m_mdl, true, glm::vec3(), QStringLiteral(""), {material}, 0);
mdlPart->addModel(m_mdl, true, glm::vec3(), QStringLiteral("mdl"), {material}, 0);
}
#include "moc_materialview.cpp"