mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 04:45:34 +00:00
CopyRigVisitor: Log the number of parents in multiple parents error
This commit is contained in:
parent
a61267f57d
commit
3b55d657e5
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ namespace SceneUtil
|
|||
for (const osg::ref_ptr<osg::Node>& node : mToCopy)
|
||||
{
|
||||
if (node->getNumParents() > 1)
|
||||
Log(Debug::Error) << "Error CopyRigVisitor: node has multiple parents";
|
||||
Log(Debug::Error) << "Error CopyRigVisitor: node has " << node->getNumParents() << " parents";
|
||||
while (node->getNumParents())
|
||||
node->getParent(0)->removeChild(node);
|
||||
|
||||
|
|
Loading…
Reference in a new issue