mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Remove redundant toNormalized
This commit is contained in:
parent
5f2582fe68
commit
7e453d491a
@ -1508,10 +1508,10 @@ namespace MWRender
|
||||
}
|
||||
animationPath.replace(animationPath.size() - 4, 4, "/");
|
||||
|
||||
for (const auto& name : resourceSystem->getVFS()->getRecursiveDirectoryIterator(animationPath))
|
||||
for (const VFS::Path::Normalized& name : resourceSystem->getVFS()->getRecursiveDirectoryIterator(animationPath))
|
||||
{
|
||||
if (Misc::getFileExtension(name) == "nif")
|
||||
loadBonesFromFile(node, VFS::Path::toNormalized(name), resourceSystem);
|
||||
loadBonesFromFile(node, name, resourceSystem);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user