diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-02-13 16:42:49 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-05-20 23:07:57 +0200 |
commit | b1859510ab0a3381e0a5bec3d896032fc5019147 (patch) | |
tree | 8f7d3e9b6d31b645db48de3d4e02cc3a485588da /modules/gltf | |
parent | 78d85de13be383b24252a38e42bec5be81721ea7 (diff) |
Change behavior of String.right
Diffstat (limited to 'modules/gltf')
-rw-r--r-- | modules/gltf/gltf_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index e67e29f7b4..acc28ae2ac 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -664,7 +664,7 @@ static Vector<uint8_t> _parse_base64_uri(const String &uri) { int start = uri.find(","); ERR_FAIL_COND_V(start == -1, Vector<uint8_t>()); - CharString substr = uri.right(start + 1).ascii(); + CharString substr = uri.substr(start + 1).ascii(); int strlen = substr.length(); |