diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-24 20:04:36 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-24 20:11:39 +0200 |
commit | 9d926b72e1988dc3d7aabfedc71abe5e8dd8669a (patch) | |
tree | f93a2f15619c5ecb1f499b4e3826dc0b7c806c72 /doc/classes/Rect2.xml | |
parent | 8c37c1e98dfc17fd27aebc7dd56b7579785d7bf9 (diff) |
Fix .pck lookup for extensionless binary names with a dot
This was not a problem on Windows as binary names are guaranteed to end
with '.exe', but on Unix systems binary extensions are purely cosmetic
and thus optional, which is a problem when using `get_basename()` to
lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188).
To fix this, ProjectSettings::setup now checks for both basename + '.pck'
and filename + '.pck'.
Fixes #15188, supersedes and closes #22755.
Also took the opportunity to improve documentation on this core method.
Diffstat (limited to 'doc/classes/Rect2.xml')
0 files changed, 0 insertions, 0 deletions