-fixed relative path saving to file, fixes #1694

This commit is contained in:
Juan Linietsky committed 2015-04-18 16:33:31 -03:00
1 parent 170a9349d2
commit a5cbfbbcbb
3 files changed
+5 -5

No files matched your search

+1 -1
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));
}