Hello everybody,
I need to define a visitor which, in certain case, have to change the file
referred to some children of pagedLOD nodes in the scenegraph...so in my
visitor I define an apply() method for pagedLOD in which body I made a call
of setFileName() method...
virtual void apply(osg::PagedLOD& plod)
{
...................
plod.setFileName(i,sameFile);
...................
}
where "i" is an integer and "sameFile" is a std::string...
after the visitor's traverse there is no change in the name of the file
associated with the child in question...what I wrong ?
Thanks in advance
Leo
_________________________________________________________________
Bolletta del telefono pesante? Risparmia con il nuovo Messenger
http://imagine-msn.com/messenger/launch80/?locale=it-it
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/