mirror of
https://github.com/redstrate/Novus.git
synced 2025-06-06 21:27:45 +00:00
Give a name to the model in the material view
This commit is contained in:
parent
4676653c84
commit
2fee10e9c2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ void MaterialView::addSphere(physis_Material material)
|
||||||
std::string skelNameStd = skelName.toStdString();
|
std::string skelNameStd = skelName.toStdString();
|
||||||
mdlPart->setSkeleton(physis_parse_skeleton(physis_gamedata_extract_file(data, skelNameStd.c_str())));
|
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"
|
#include "moc_materialview.cpp"
|
||||||
|
|
Loading…
Add table
Reference in a new issue