Fixed LessGeode operator.

This commit is contained in:
Robert Osfield 2008-03-25 12:26:43 +00:00
parent 920554c4f7
commit b4245023a9

View File

@ -2841,9 +2841,10 @@ struct LessGeode
{
bool operator() (const osg::Geode* lhs,const osg::Geode* rhs) const
{
if (lhs->getStateSet()<rhs->getStateSet()) return true;
if (lhs->getNodeMask()<rhs->getNodeMask()) return true;
return false;
if (lhs->getNodeMask()>rhs->getNodeMask()) return false;
return (lhs->getStateSet()<rhs->getStateSet());
}
};