*** empty log message ***

This commit is contained in:
Robert Osfield
2001-09-28 16:56:19 +00:00
parent 57fd2b4bcb
commit 12f77f141e
4 changed files with 22 additions and 2 deletions

View File

@@ -123,6 +123,17 @@ void StateSet::setAttributeToInherit(const StateAttribute::Type type)
}
}
StateAttribute* StateSet::getAttribute(const StateAttribute::Type type)
{
AttributeList::iterator itr = _attributeList.find(type);
if (itr!=_attributeList.end())
{
return itr->second.first.get();
}
else
return NULL;
}
const StateAttribute* StateSet::getAttribute(const StateAttribute::Type type) const
{
AttributeList::const_iterator itr = _attributeList.find(type);