Thanks Bill, fix merged and submitted to SVN.

On Tue, Sep 2, 2008 at 7:21 PM, Bill Prendergast <[EMAIL PROTECTED]> wrote:
> 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.
>
> Regards,
>
> Bill
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to