From Bill Prendergast, "Found a typo in CameraRenderOrderSortOp in osg/GraphicsContext.cpp (V2.6.0 and prior) as noted below:
From Bill Prendergast, "Found a typo in CameraRenderOrderSortOp in osg/GraphicsContext.cpp
(V2.6.0 and prior) as noted below:

struct CameraRenderOrderSortOp
{
   inline bool operator() (const Camera* lhs,const Camera* rhs) const
   {
       if (lhs->getRenderOrder()<rhs->getRenderOrder()) return true;
       if (rhs->getRenderOrder()<lhs->getRenderOrder()) return false;
--->    return lhs->getRenderOrderNum()<lhs->getRenderOrderNum();
              ^^^                      ^^^
   }
};

Corrected code attached."




stmh/osg,artoolkit/osg,stmh/osg,ghub/osg,omega-hub/osg,ntoand/osg,stmh/osg,koshman86/osg,omega-hub/osg,artoolkit/osg,koshman86/osg,ghub/osg,omega-hub/osg,koshman86/osg,XiaoCC/osg,XiaoCC/osg,XiaoCC/osg,stmh/osg,koshman86/osg,artoolkit/osg,stmh/osg,ntoand/osg,ntoand/osg,ghub/osg,ghub/osg,XiaoCC/osg,artoolkit/osg,ntoand/osg,omega-hub/osg,XiaoCC/osg