- fbx: add special output node name tag to mark fbx null nodes.

This commit is contained in:
Alexander Gessler
2012-08-25 22:24:08 +02:00
parent eed3cebc18
commit cdb7caffbd
3 changed files with 93 additions and 5 deletions

View File

@@ -134,6 +134,22 @@ void Model::ResolveLinks(const Element& element, const Document& doc)
}
// ------------------------------------------------------------------------------------------------
bool Model::IsNull() const
{
const std::vector<const NodeAttribute*>& attrs = GetAttributes();
BOOST_FOREACH(const NodeAttribute* att, attrs) {
const Null* null_tag = dynamic_cast<const Null*>(att);
if(null_tag) {
return true;
}
}
return false;
}
} //!FBX
} //!Assimp