mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 05:20:14 -04:00
Print the object ID that animateCollisionShapes did not find the node for
This commit is contained in:
parent
1402e0b872
commit
0772a03e98
@ -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…
x
Reference in New Issue
Block a user