diff options
| author | Fabio Alessandrelli | 2016-10-13 11:30:04 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli | 2016-10-13 11:51:38 +0200 |
| commit | 2f2cea070e062415f290103f1823ab17ea4e5874 (patch) | |
| tree | 51672a0df21b073381b5bffe1cd2f424e78fbe1e /core/globals.cpp | |
| parent | 11349a786be1fd02647493cfeff9883898ffd73e (diff) | |
| download | godot-2f2cea070e062415f290103f1823ab17ea4e5874.tar.gz godot-2f2cea070e062415f290103f1823ab17ea4e5874.tar.zst godot-2f2cea070e062415f290103f1823ab17ea4e5874.zip | |
Diffstat (limited to 'core/globals.cpp')
| -rw-r--r-- | core/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp index b822f52f1..bef40ff33 100644 --- a/core/globals.cpp +++ b/core/globals.cpp @@ -54,7 +54,7 @@ String Globals::localize_path(const String& p_path) const { if (resource_path=="") return p_path; //not initialied yet - if (p_path.begins_with("res://") || p_path.begins_with("user://")) + if (p_path.begins_with("res://") || p_path.begins_with("user://") || p_path.is_abs_path()) return p_path.simplify_path(); |
