Carsten Neumann wrote: > Hi Allen, > >Allen Bierbaum wrote: > > >>The new FC is called ContainerPool. The ContainerPool::subContainer >>method isn't implemented yet since I don't quite know how to do it, but >>the code is there if anyone wants to take a look and give some feedback. >> >> > >some random comments: > >- ContainerPool derives from FieldContainer, most "real" containers >derive from AttachmentContainer to allow addition of attachments. > > True. I should probably change that.
>- IIUC you also want the things in ContainerPool to be written to OSB >when saving your scene, right ? If yes, how did you plan to attach it to >the graph ? The MaterialPool in 1.x is a NodeCore which solves this >problem - there might be better solutions, but this one is easy and gets >the job done - the rest is to some extend a matter of taste. > > I was hoping or expecting that any attached field containers would also be written out and loaded. I haven't checked the loader yet though to make sure this is supported. >- For the implementation of subContainer you can look at Node::subChild, >which should be similar, I believe. > > Ok. Thanks. -Allen > Cheers, > Carsten > >------------------------------------------------------------------------- >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
