On Tue, May 11, 2010 at 12:04 PM, Alexandre Amalric <[email protected]>wrote:
> > Hi osg-users, > > Is it possible to change the way the data file path list is stored ? I mean > OSG use a double ended queue to store new data file path, isn'it more > efficient to use a list instead ? > > Usually the path list is short, so it doesn't matter too much. > > In my case i'm adding new file path from a list of new model added to my > scene to help the reader to find missing models. But there is a lot of > models sharing the same path, so the FilePathList is full of the same path, > it will be more usefull to have it only once. > > The OSG path list isn't a set because the order of the directories in the path list matters. If you don't care about the order you can build a set of paths yourself and then add them to the file path list. Tim
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

