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:
parent
7bae664767
commit
0fb41c9a88
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue