From b0cf201ea3beb473fd0498c5c7ec3b98feda88b9 Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 14 Nov 2016 08:36:01 +0900 Subject: [PATCH] Fix crash when select target path on import 3d scene window --- tools/editor/editor_dir_dialog.cpp | 2 +- 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 cf0732501e8..a6a6e111421 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 dirs = p.split("/"); + Vector dirs = p.split("/",false); TreeItem *r=tree->get_root(); for(int i=0;ipopup_centered_ratio(); if (save_path->get_text()!="") save_select->set_current_path(save_path->get_text()); - save_select->popup_centered_ratio(); }