mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 11:36:41 +00:00
Print the object ID that animateCollisionShapes did not find the node for
This commit is contained in:
parent
1402e0b872
commit
0772a03e98
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ namespace MWPhysics
|
||||||
mPtr.getRefData().getBaseNode()->accept(visitor);
|
mPtr.getRefData().getBaseNode()->accept(visitor);
|
||||||
if (!visitor.mFound)
|
if (!visitor.mFound)
|
||||||
{
|
{
|
||||||
std::cerr << "animateCollisionShapes: Can't find node " << recIndex << std::endl;
|
std::cerr << "animateCollisionShapes: Can't find node " << recIndex << " for " << mPtr.getCellRef().getRefId() << std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
osg::NodePath nodePath = visitor.mFoundPath;
|
osg::NodePath nodePath = visitor.mFoundPath;
|
||||||
|
|
Loading…
Reference in a new issue