Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: PienueDut

26. May 2012, 09:27:47 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Safer Traversal
Pages: [1]
Print
Author Topic: Safer Traversal  (Read 423 times)
qbproger
developers
Becoming dependent
***
Offline Offline

Posts: 217


View Profile
« on: 19. November 2008, 01:52:26 pm »

I was altering the scenegraph during a traversal, and was getting exceptions because I was detaching children from their parents.  Changing it to start at numChildren-1 and while it's >= 0 fixed the problem because now when I detach it doesn't change the numbering of the other nodes.

There may be a way to keep the current traversal order and be able to alter the scenegraph, but this was fine for my needs.

qb
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic