From 2b9c501e18b6eded7375c0e272aff401ad9793a2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 14 Jan 2020 14:42:01 +0000 Subject: [PATCH] Fixed workaround for invalid indices --- src/osgPlugins/obj/obj.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/osgPlugins/obj/obj.cpp b/src/osgPlugins/obj/obj.cpp index c6982c2dc..a87072a83 100644 --- a/src/osgPlugins/obj/obj.cpp +++ b/src/osgPlugins/obj/obj.cpp @@ -668,28 +668,22 @@ bool Model::readOBJ(std::istream& fin, const osgDB::ReaderWriter::Options* optio if (sscanf(ptr, "%d/%d/%d", &vi, &ti, &ni) == 3) { - // OSG_NOTICE<<" vi="<