mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Fix model loader not taking skinning branching
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Nuake
|
||||
|
||||
Ref<SkinnedModel> ModelLoader::LoadSkinnedModel(const std::string& path, bool absolute)
|
||||
{
|
||||
m_Meshes.clear();
|
||||
m_SkinnedMeshes.clear();
|
||||
Ref<SkinnedModel> model = CreateRef<SkinnedModel>(path);
|
||||
|
||||
Assimp::Importer importer;
|
||||
@@ -76,7 +76,7 @@ namespace Nuake
|
||||
return model;
|
||||
}
|
||||
|
||||
ProcessNode(scene->mRootNode, scene);
|
||||
ProcessSkinnedNode(scene->mRootNode, scene);
|
||||
|
||||
for (const auto& mesh : m_SkinnedMeshes)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user