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

Make the material model static for now

I don't know how I broke the skinned mode in both renderers, but it's
not really used here. I can re-enable it later once it doesn't become a
problem.
This commit is contained in:
Joshua Goins 2025-06-03 05:23:23 -04:00
parent 7bae664767
commit 0fb41c9a88

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("mdl"), {material}, 0);
mdlPart->addModel(m_mdl, false, glm::vec3(), QStringLiteral("mdl"), {material}, 0);
}
#include "moc_materialview.cpp"