summaryrefslogtreecommitdiff
path: root/scene/gui/file_dialog.cpp
diff options
context:
space:
mode:
authorSonerSound <mario.shadic.esteves@hotmail.com>2019-04-29 22:27:07 +0100
committerSonerSound <mario.shadic.esteves@hotmail.com>2019-06-30 19:13:49 +0100
commit90b2415343287f67586956c798d4b7a63544158f (patch)
treeba9e9d198d1922f1879d446a4a256675a31827a9 /scene/gui/file_dialog.cpp
parent96d3270c344c7fe9a463b87006b0c56004128f6d (diff)
Export path may now be written as a relative path
If the target directory does not exist, it will be recursively created. Export paths are now saved as a relative to the projects base directory Renamed relative_to function to final_path_from_relative which takes a relative path and outputs the final path from a string that represents a directory. Added relative_path_from_final which takes in a final path and outputs a relative path if possible. If not possible it outputs the relative path that represents the current directory. If the target directory does not exist when exporting the project, then it is recursively created. Removed final_path_from_relative function Changed DirAccess into DirAccessRef for automatic object destruction
Diffstat (limited to 'scene/gui/file_dialog.cpp')
0 files changed, 0 insertions, 0 deletions