Added conversion to osg::GeoSet::converToGeometry() utility to help the

migration to and testing of the new osg::Geometry class.
This commit is contained in:
Robert Osfield
2002-06-23 21:43:46 +00:00
parent bbc129e5c6
commit f2e215bf44
10 changed files with 1022 additions and 88 deletions

View File

@@ -274,7 +274,7 @@ class SG_EXPORT Texture : public StateAttribute
{
// pad out handle list if required.
if (_handleList.size()<=contextID)
_handleList.resize(contextID,0);
_handleList.resize(contextID+1,0);
// get the globj for the current contextID.
return _handleList[contextID];