diff options
| author | volzhs | 2016-11-14 08:36:01 +0900 |
|---|---|---|
| committer | Rémi Verschelde | 2016-11-15 08:44:53 +0100 |
| commit | 679e9f413c42bb3cc9cfafd98251d4f71d6030a4 (patch) | |
| tree | db7f0d5fd29d9d401bd3fbf52f5b8620e1c48fe9 | |
| parent | 19ce11b908a2c973a0bd339da83a10e7561df2c7 (diff) | |
| download | godot-679e9f413c42bb3cc9cfafd98251d4f71d6030a4.tar.gz godot-679e9f413c42bb3cc9cfafd98251d4f71d6030a4.tar.zst godot-679e9f413c42bb3cc9cfafd98251d4f71d6030a4.zip | |
| -rw-r--r-- | tools/editor/editor_dir_dialog.cpp | 2 | ||||
| -rw-r--r-- | tools/editor/io_plugins/editor_scene_import_plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_dir_dialog.cpp b/tools/editor/editor_dir_dialog.cpp index cf0732501..a6a6e1114 100644 --- a/tools/editor/editor_dir_dialog.cpp +++ b/tools/editor/editor_dir_dialog.cpp @@ -145,7 +145,7 @@ void EditorDirDialog::set_current_path(const String& p_path) { if (p.begins_with("res://")) p = p.replace_first("res://",""); - Vector<String> dirs = p.split("/"); + Vector<String> dirs = p.split("/",false); TreeItem *r=tree->get_root(); for(int i=0;i<dirs.size();i++) { diff --git a/tools/editor/io_plugins/editor_scene_import_plugin.cpp b/tools/editor/io_plugins/editor_scene_import_plugin.cpp index c31acf513..66c4adf98 100644 --- a/tools/editor/io_plugins/editor_scene_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -894,9 +894,9 @@ void EditorSceneImportDialog::_browse() { void EditorSceneImportDialog::_browse_target() { + save_select->popup_centered_ratio(); if (save_path->get_text()!="") save_select->set_current_path(save_path->get_text()); - save_select->popup_centered_ratio(); } |
