Hi John,

On Tue, Oct 28, 2008 at 4:16 PM, John Vidar Larring
<[EMAIL PROTECTED]> wrote:
> I was hoping this would work too, but
> getDatabasePager()->getFileRequestListSize() _always_ returns 0 (zero).
>
> So I am hoping that this is either a bug that can be fixed or that there is
> another method for checking whether the DatabasePager is done / idle (!?)

There isn't much to go wrong is this method, so I doubt there is a bug
in it.  I suspect the read queues are just being emptied really fast
so you are missing when they are not empty.  Or perhaps you are
testing the wrong DatabasePager.

You could also check the getDataToCompileListSize() to see if it has
anything it in, and there isn't a present a DataToMergeListSize()
method which there should probably.  The sum of all these would
probably be the thing that would test against to see if there isn't
pending in the pager.

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

Reply via email to