On Wed, Nov 18, 2009 at 4:31 AM, Robert Osfield <robert.osfi...@gmail.com>wrote:

> Hi Glenn,
>
> On Wed, Nov 18, 2009 at 2:46 AM, Glenn Waldron <gwald...@gmail.com> wrote:
> > Is it legal to call setNumChildrenRequiringUpdateTraversal() during the
> CULL
> > traversal?
>
> I certainly isn't something I would do, but you will probably get away
> with it in you have single threaded cull.
>

Well if *you* wouldn't do it, then that's good enough for me! My library
needs to support all threading models. Moving the operation to the update
trav seems to do the trick in this case.


>
> As for legality, there depends upon you local laws, here in the UK we
> have some pretty obscure ones dating back hundreds of years which make
> no sense today, but even then I don't think this particular type of
> coding is illegal.  Oo perhaps is someone has patented then it might
> be....
>

As soon as my patent filing for "update traversals" is granted, I will be
back to ask for "donations".


>
> > I ask because I'm getting a very hard-to-replicate crash in that method
> and
> > I'm trying to eliminate possibilities.
>
> You have my sympathy, I've spent many hours in my career banging my
> head off the way when trying to track down such bugs.  I don't have
> much wisdom to help other than perseverance and that both methodical
> and lateral thinking are useful for getting you through such pits of
> codiing despair :-)
>

Indeed ... although on the bright side this had given me the opportunity to
delve deep into some of the guts of OSG that I've never really looked at
before. So it's not all bad :)


>
> Good luck,
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to