aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/audio_server_javascript.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2017-02-16 14:29:18 +0100
committerRémi Verschelde2017-03-18 20:10:36 +0100
commit4cf49bb6f49630f0d563b3cc005c0014f1cec378 (patch)
tree6324d40b84ed25a0e638c03919770258f64f336d /platform/javascript/audio_server_javascript.cpp
parent674a090e5917eab5b590563fb156ff90ea53fe31 (diff)
downloadgodot-4cf49bb6f49630f0d563b3cc005c0014f1cec378.tar.gz
godot-4cf49bb6f49630f0d563b3cc005c0014f1cec378.tar.zst
godot-4cf49bb6f49630f0d563b3cc005c0014f1cec378.zip
Allow preload to accept a const string.
In preload() parsing this code will lookup the identifier in the local constant database. If the identifier corresponds to a string constant it is used as the path for preload(). Currently this does not work for global constants, only constants declared in the same class as the preload is happening. We can implement a full fix too. Maybe we can use this PR to discuss the possibilities. This (partially) fixes #6798 (cherry picked from commit 3e5743ca3619d9767caeddac8520463db50291f6)
Diffstat (limited to 'platform/javascript/audio_server_javascript.cpp')
0 files changed, 0 insertions, 0 deletions