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

fix font import path on windows, closes #1675

This commit is contained in:
Juan Linietsky
2015-05-04 15:06:41 -03:00
parent fbbe7dcdfb
commit 2a02d3f96f
4 changed files with 14 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ String EditorImportPlugin::validate_source_path(const String& p_path) {
String rp = Globals::get_singleton()->get_resource_path();
if (!rp.ends_with("/"))
rp+="/";
return rp.path_to_file(gp);
}