Fix embedded textures causing a model not to load

This commit is contained in:
jordan4ibanez 2023-01-27 20:45:02 -05:00 committed by Josiah VanderZee
parent 08d226cdb5
commit 4a8602ed0f
1 changed files with 0 additions and 4 deletions

View File

@ -81,10 +81,6 @@ static bool tryParseGLTF(io::IReadFile* file, tinygltf::Model& model)
auto buf = std::make_unique<char[]>(file->getSize());
file->read(buf.get(), file->getSize());
if (err != "" || warn != "") {
return false;
}
return loader.LoadASCIIFromString(&model, &err, &warn, buf.get(), file->getSize(), "", 1);
}