From 5996e38e6e2b8cb1bfd61eec4ac9d89c546d061d Mon Sep 17 00:00:00 2001 From: Godzil Date: Thu, 12 Mar 2020 00:11:48 +0000 Subject: [PATCH] Fix my own stupidity.. --- source/shapes/objfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shapes/objfile.cpp b/source/shapes/objfile.cpp index bc8254a..8d886ed 100644 --- a/source/shapes/objfile.cpp +++ b/source/shapes/objfile.cpp @@ -476,13 +476,13 @@ int OBJFile::execLine(int argc, char *argv[], uint32_t currentLine) this->currentGroup->addObject(makeVector(this->vertices(v[3]), this->verticesNormal(vn[3]), Colour(0.5, 0, 1))); +#endif t = new SmoothTriangle(this->vertices(v[1]), this->vertices(v[2]), this->vertices(v[3]), this->verticesNormal(vn[1]), this->verticesNormal(vn[2]), this->verticesNormal(vn[3])); -#endif } this->currentGroup->addObject(t); ret = 0;