Fixed error in getting material name in LoadObjWithCallback
This commit is contained in:
@@ -1805,7 +1805,6 @@ bool LoadObjWithCallback(std::istream &inStream, const callback_t &callback,
|
|||||||
if ((0 == strncmp(token, "mtllib", 6)) && IS_SPACE((token[6]))) {
|
if ((0 == strncmp(token, "mtllib", 6)) && IS_SPACE((token[6]))) {
|
||||||
if (readMatFn) {
|
if (readMatFn) {
|
||||||
token += 7;
|
token += 7;
|
||||||
token += 7;
|
|
||||||
|
|
||||||
std::vector<std::string> filenames;
|
std::vector<std::string> filenames;
|
||||||
SplitString(std::string(token), ' ', filenames);
|
SplitString(std::string(token), ' ', filenames);
|
||||||
|
|||||||
Reference in New Issue
Block a user