Fixed slow OBJ reader (Thanks to Etienne Danvoye for the patch)

Updated changelog
This commit is contained in:
Jan Möbius
2018-05-29 07:42:01 +02:00
parent 22d3a85d84
commit 24a1eafc9a
2 changed files with 9 additions and 1 deletions

View File

@@ -540,6 +540,7 @@ read(std::istream& _in, BaseImporter& _bi, Options& _opt)
vhandles.clear();
face_texcoords.clear();
face_texcoords3d.clear();
// read full line after detecting a face
std::string faceLine;