diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-16 14:29:18 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-16 14:29:18 +0100 |
commit | 3e5743ca3619d9767caeddac8520463db50291f6 (patch) | |
tree | bd214967ec9de41193c00a76de54ddc789981a27 /scene/main | |
parent | 9cdd364fc0edee407a65fbef674dcc3bcea378a9 (diff) |
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
Diffstat (limited to 'scene/main')
0 files changed, 0 insertions, 0 deletions