Print the object ID that animateCollisionShapes did not find the node for

0.6.1
scrawl 8 years ago
parent 1402e0b872
commit 0772a03e98

@ -652,7 +652,7 @@ namespace MWPhysics
mPtr.getRefData().getBaseNode()->accept(visitor);
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;
}
osg::NodePath nodePath = visitor.mFoundPath;

Loading…
Cancel
Save