mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix crash when select target path on import 3d scene window
(cherry picked from commit b0cf201ea3)
This commit is contained in:
parent
19ce11b908
commit
679e9f413c
2 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue