From 0772a03e98e253d1e51d6f6bf55e6c2e057754bd Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 27 Feb 2017 00:41:27 +0100 Subject: [PATCH] Print the object ID that animateCollisionShapes did not find the node for --- apps/openmw/mwphysics/physicssystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwphysics/physicssystem.cpp b/apps/openmw/mwphysics/physicssystem.cpp index 84039bd31..7388d2714 100644 --- a/apps/openmw/mwphysics/physicssystem.cpp +++ b/apps/openmw/mwphysics/physicssystem.cpp @@ -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;