From cbf5b14f615d21cd3984e85201612219bf734ac6 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 16 Jan 2018 10:23:36 +0100 Subject: [PATCH] obj plugin: Fix bug not adding first vertex index on writing GL_LINExxx array types --- src/osgPlugins/obj/OBJWriterNodeVisitor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp b/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp index 6a5277c27..81ce5fee6 100644 --- a/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp +++ b/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp @@ -384,7 +384,7 @@ void ObjPrimitiveIndexWriter::drawArrays(GLenum mode,GLint first,GLsizei count) for(GLsizei i=0;i