1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

Broken bone references from .kf files are no longer a fatal error (Bug #2687)

This commit is contained in:
scrawl 2015-06-15 22:42:14 +02:00
parent aad8e7b6d0
commit 2d072aab2d

View file

@ -347,7 +347,10 @@ namespace MWRender
std::string bonename = Misc::StringUtils::lowerCase(it->first);
NodeMap::const_iterator found = mNodeMap.find(bonename);
if (found == mNodeMap.end())
throw std::runtime_error("addAnimSource: can't find bone " + bonename);
{
std::cerr << "addAnimSource: can't find bone '" + bonename << "' in " << model << " (referenced by " << kfname << ")" << std::endl;
continue;
}
osg::Node* node = found->second;