mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Fix correctActorModelPath in preloader not being used
This commit is contained in:
parent
1b8e82e929
commit
d16450bff2
@ -86,8 +86,8 @@ namespace MWWorld
|
||||
|
||||
//std::cout << "preloading " << mesh << std::endl;
|
||||
|
||||
mPreloadedNodes.push_back(mSceneManager->getTemplate(*it));
|
||||
mPreloadedShapes.push_back(mBulletShapeManager->getShape(*it));
|
||||
mPreloadedNodes.push_back(mSceneManager->getTemplate(mesh));
|
||||
mPreloadedShapes.push_back(mBulletShapeManager->getShape(mesh));
|
||||
|
||||
size_t slashpos = mesh.find_last_of("/\\");
|
||||
if (slashpos != std::string::npos && slashpos != mesh.size()-1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user