Fixed LessGeode operator.
This commit is contained in:
parent
920554c4f7
commit
b4245023a9
@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user