Dirk Reiners wrote: > Hi Allen, > >Allen Bierbaum wrote: > > >>I guess I am still a bit confused by this behavior. We are talking about >>code running in a single thread here right? >> >> >> >Yup. > > >>If I am in one thread and I make change to some fc's (for example add >>children to a node) and then try to read those changes back (ex: ask for >>number of children), I see the changes correct? >> >> >> >Yup. > > >>Is there something going on in Dan's example that involves multiple >>threads or something? If not then I am really confused because I don't >>think I have been doing any of this in the code I am using with 2.0 and >>things "seem" fine so far. >> >> >> >Then you're just lucky. :) Any derived data (i.e. things that are >updated in changed()) are not valid until commitChanges() is called. >showAll() is using the bounding volume to figure out the near/far >distances, and those are only available after commitChanges() has >propagated some invalidations. > > Okay. This sounds like a pretty big gotcha that we will need to document really well in the guide for OpenSG 2.0.
In the meantime, what derived values will this be a problem for. In other words, what should I watch out for. :) -Allen >Yours > > Dirk > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Opensg-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/opensg-users > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
