Rename File::get_len() get_length()
This commit is contained in:
parent
313e1f62bb
commit
da5d7db610
59 changed files with 101 additions and 101 deletions
|
|
@ -233,7 +233,7 @@ Error GLTFDocument::_parse_json(const String &p_path, Ref<GLTFState> state) {
|
|||
}
|
||||
|
||||
Vector<uint8_t> array;
|
||||
array.resize(f->get_len());
|
||||
array.resize(f->get_length());
|
||||
f->get_buffer(array.ptrw(), array.size());
|
||||
String text;
|
||||
text.parse_utf8((const char *)array.ptr(), array.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue