1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Don't complain about RootCollisionNode, it's handled in nifbullet

This commit is contained in:
Chris Robinson 2013-02-13 00:43:29 -08:00
parent 6a9755778e
commit 5b2ca6fa7d

View File

@ -328,7 +328,9 @@ void buildBones(Ogre::Skeleton *skel, const Nif::Node *node, Ogre::Bone *&animro
ctrl = ctrl->next;
}
if(!(node->recType == Nif::RC_NiNode))
if(!(node->recType == Nif::RC_NiNode || /* Nothing special; children traversed below */
node->recType == Nif::RC_RootCollisionNode /* handled in nifbullet (hopefully) */
))
warn("Unhandled "+node->recName+" "+node->name+" in "+skel->getName());
Nif::ExtraPtr e = node->extra;