mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-13 06:21:48 +08:00
Remove unused code. Fixes #454
This commit is contained in:
parent
c40c9c223e
commit
4b9cfc8c1e
@ -6768,10 +6768,6 @@ bool TinyGLTF::LoadBinaryFromMemory(Model *model, std::string *err,
|
||||
bin_size_ = size_t(chunk1_length);
|
||||
}
|
||||
|
||||
// Extract JSON string.
|
||||
std::string jsonString(reinterpret_cast<const char *>(&bytes[20]),
|
||||
chunk0_length);
|
||||
|
||||
is_binary_ = true;
|
||||
|
||||
bool ret = LoadFromString(model, err, warn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user