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:
parent
aad8e7b6d0
commit
2d072aab2d
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue