From 055ec5606873d53f26c6e89aeff3681ee0beb00d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Jun 2016 17:18:21 +0100 Subject: [PATCH] Added message for unhandled mode types --- src/osgPlugins/pov/POVWriterNodeVisitor.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/osgPlugins/pov/POVWriterNodeVisitor.cpp b/src/osgPlugins/pov/POVWriterNodeVisitor.cpp index 642da6028..b4bfc97c4 100644 --- a/src/osgPlugins/pov/POVWriterNodeVisitor.cpp +++ b/src/osgPlugins/pov/POVWriterNodeVisitor.cpp @@ -355,13 +355,10 @@ static void processDrawArrays( ostream& _fout, unsigned int &numTriangles, writeIndex( _fout, numTriangles, startIndex, i-1, i, numOnLine ); break; - case GL_QUADS: - case GL_QUAD_STRIP: - case GL_POLYGON: - assert( 0 && "Not implemented yet." ); - default: - assert( false ); + + OSG_NOTICE<<"pov Plugin : processDrawArrays() can not handle GLenum mode="<