1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Remove redundant toNormalized

This commit is contained in:
elsid 2024-09-21 00:30:01 +02:00
parent ac21cf3bb3
commit 1d98b5c66b
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -385,7 +385,7 @@ namespace MWRender
if (!weaponNode->getNumChildren()) if (!weaponNode->getNumChildren())
{ {
osg::ref_ptr<osg::Node> fallbackNode osg::ref_ptr<osg::Node> fallbackNode
= mResourceSystem->getSceneManager()->getInstance(VFS::Path::toNormalized(mesh), weaponNode); = mResourceSystem->getSceneManager()->getInstance(mesh, weaponNode);
resetControllers(fallbackNode); resetControllers(fallbackNode);
} }