Skip to content

Commit 4886eeb

Browse files
authored
Merge pull request tinyobjloader#120 from dPavelDev/master
Fixed error in getting material name in LoadObjWithCallback
2 parents 26bdace + 91c727e commit 4886eeb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎tiny_obj_loader.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,6 @@ bool LoadObjWithCallback(std::istream &inStream, const callback_t &callback,
18051805
if ((0 == strncmp(token, "mtllib", 6)) && IS_SPACE((token[6]))) {
18061806
if (readMatFn) {
18071807
token += 7;
1808-
token += 7;
18091808

18101809
std::vector<std::string> filenames;
18111810
SplitString(std::string(token), ' ', filenames);

0 commit comments

Comments
 (0)