mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-06 08:11:35 +00:00
Remove redundant toNormalized
This commit is contained in:
parent
5f2582fe68
commit
7e453d491a
1 changed files with 2 additions and 2 deletions
|
@ -1508,10 +1508,10 @@ namespace MWRender
|
||||||
}
|
}
|
||||||
animationPath.replace(animationPath.size() - 4, 4, "/");
|
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")
|
if (Misc::getFileExtension(name) == "nif")
|
||||||
loadBonesFromFile(node, VFS::Path::toNormalized(name), resourceSystem);
|
loadBonesFromFile(node, name, resourceSystem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue