1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

-fixed relative path saving to file, fixes #1694

This commit is contained in:
Juan Linietsky
2015-04-18 16:33:31 -03:00
parent 170a9349d2
commit a5cbfbbcbb
3 changed files with 5 additions and 5 deletions

View File

@@ -390,7 +390,7 @@ Error ResourceInteractiveLoaderBinary::parse_variant(Variant& r_v) {
if (path.find("://")==-1 && path.is_rel_path()) {
// path is relative to file being loaded, so convert to a resource path
path=Globals::get_singleton()->localize_path(res_path.get_base_dir()+"/"+path);
path=Globals::get_singleton()->localize_path(res_path.get_base_dir().plus_file(path));
}