void read(NIFStream *nif) { Node::read(nif); children.read(nif); effects.read(nif); // Discard tranformations for the root node, otherwise some meshes // occasionally get wrong orientation. Only for NiNode-s for now, but // can be expanded if needed. if (0 == recIndex) { static_cast<Nif::Node*>(this)->trafo = Nif::Transformation::getIdentity(); } }
void read(NIFFile *nif) { data.read(nif); root.read(nif); bones.read(nif); if(data.empty() || root.empty()) nif->fail("NiSkinInstance missing root or data"); }
void read(NIFStream *nif) { data.read(nif); root.read(nif); bones.read(nif); }
void read(NIFStream *nif) { Node::read(nif); children.read(nif); effects.read(nif); }