Hi Joakim, I have never personally attempted to do these specific steps, but I guess it should work if non const get methods for the containers are available. Have you tried it?
Robert. On Thu, Sep 23, 2010 at 9:04 AM, Joakim Simonsson <joa...@autosim.no> wrote: > > Hi, > > Is this the correct way to do it? > > Remove all textures from a StateSet: > > ss->getTextureAttributeList().clear(); > ss->getTextureModeList().clear(); > > Remove all texture coordinates from a Geometry: > > geometry->getTexCoordArrayList().clear(); > > > -- > Joakim Simonsson > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org