diff --git a/src/osg/Geometry.cpp b/src/osg/Geometry.cpp index 192678920..11a5fae95 100644 --- a/src/osg/Geometry.cpp +++ b/src/osg/Geometry.cpp @@ -2209,7 +2209,7 @@ bool _verifyBindings(const osg::Geometry& geom, const A& arrayData) } template -void _computeCorrectBindingsAndArraySizes(const osg::Geometry& geom, A& arrayData, const char* arrayName) +void _computeCorrectBindingsAndArraySizes(std::ostream& out, const osg::Geometry& geom, A& arrayData, const char* arrayName) { unsigned int numVertices = geom.getVertexIndices()?geom.getVertexIndices()->getNumElements(): geom.getVertexArray()?geom.getVertexArray()->getNumElements():0; @@ -2221,9 +2221,9 @@ void _computeCorrectBindingsAndArraySizes(const osg::Geometry& geom, A& arrayDat arrayData.array = 0; arrayData.indices = 0; arrayData.binding = osg::Geometry::BIND_OFF; - notify(WARN)<<"Warning: in osg::Geometry::computeCorrectBindingsAndArraySizes() vertex array is empty but "<1) { - notify(WARN)<<"Warning: in osg::Geometry::computeCorrectBindingsAndArraySizes() "<geom.getPrimitiveSetList().size()) { - notify(WARN)<<"Warning: in osg::Geometry::computeCorrectBindingsAndArraySizes() "<numVertices) { - notify(WARN)<<"Warning: in osg::Geometry::computeCorrectBindingsAndArraySizes() "<