mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-01 02:11:31 +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);
|
std::string bonename = Misc::StringUtils::lowerCase(it->first);
|
||||||
NodeMap::const_iterator found = mNodeMap.find(bonename);
|
NodeMap::const_iterator found = mNodeMap.find(bonename);
|
||||||
if (found == mNodeMap.end())
|
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;
|
osg::Node* node = found->second;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue