summaryrefslogtreecommitdiff
path: root/scene/2d/position_2d.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-02-16 14:29:18 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2017-02-16 14:29:18 +0100
commit3e5743ca3619d9767caeddac8520463db50291f6 (patch)
treebd214967ec9de41193c00a76de54ddc789981a27 /scene/2d/position_2d.cpp
parent9cdd364fc0edee407a65fbef674dcc3bcea378a9 (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/2d/position_2d.cpp')
0 files changed, 0 insertions, 0 deletions