Index: OSGSurface.cpp
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/System/NodeCores/Drawables/Nurbs/OSGSurface.cpp,v
retrieving revision 1.14
diff -u -r1.14 OSGSurface.cpp
--- OSGSurface.cpp	1 Sep 2011 20:53:04 -0000	1.14
+++ OSGSurface.cpp	8 Sep 2011 14:21:46 -0000
@@ -2273,15 +2273,16 @@
     {
         const GeoPositions4f::StoredFieldType *p = pRatPos->getFieldPtr();
 
-        for(UInt32 i = 0; i < p->size(); ++i)
+		GeoPositions4f::StoredFieldType::const_iterator it;
+		for(it=p->begin(); it!=p->end(); ++it)
         {
             Pnt3f pnt;
 
-            if(osgabs( p->getValue(i)[3] ) > DCTP_EPS )
+            if(osgabs( (*it)[3] ) > DCTP_EPS )
             {
-                pnt[0] = p->getValue(i)[0] / p->getValue(i)[3];
-                pnt[1] = p->getValue(i)[1] / p->getValue(i)[3];
-                pnt[2] = p->getValue(i)[2] / p->getValue(i)[3];
+                pnt[0] = (*it)[0] / (*it)[3];
+                pnt[1] = (*it)[1] / (*it)[3];
+                pnt[2] = (*it)[2] / (*it)[3];
                 volume.extendBy(pnt);
             }
             else

