Paul , thank you. Yes, the right way is : *geometry->removePrimitiveSet( 0 , geometry->getNumPrimitiveSets() );*
The problem is caused by my another code.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org