Hi Serge,

On Wed, May 20, 2009 at 1:01 PM, Serge Lages <[email protected]> wrote:
> I was just wondering why there is no more a requestNodeFile method in
> osgDB/DatabasePager taking only 5 parameters (setting options to NULL
> directly). Is it normal or is it maybe a copy past error ?

The PagedLOD node now has it's won optional Options object that can be
assigned to it, and then passed on automaticaly to the DatabasePager
via the NodeVisitor::DatabaseRequestHandler which now has the Options*
parameter inbuilt.  PagedLOD has a NULL for Options so the original
behavior is kept the same.  Your own code that calls the
DatabaseRequestHandler can also just use NULL too, unless you want a
specific Options object used.

The new scheme should be more flexible but at the same time retain the
original default behaviour.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to