diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index 919a464a2..3842a7c1b 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -41,6 +41,8 @@ Geometry::Geometry() // temporary test // setSupportsDisplayList(false); + _vertexData.binding = BIND_PER_VERTEX; + _fastPath = false; _fastPathHint = true; } @@ -2674,7 +2676,7 @@ public: unsigned int numElements = arrayData.array.valid() ? arrayData.array->getNumElements() : 0; if (numElementsgetNumElements() : 0; - for(unsigned int i=0; iindex(i)>=numVertices) - { - out<<"Vertex indice out of bounds of vertex array"<getNumElements() : 0; - if (numVertices