Fix res:// error when dragging file to other file
This commit is contained in:
parent
1174d10e3c
commit
2f0c4de1f0
1 changed files with 1 additions and 1 deletions
|
@ -4419,7 +4419,7 @@ void EditorNode::remove_tool_menu_item(const String &p_name) {
|
|||
|
||||
void EditorNode::_dropped_files(const Vector<String> &p_files, int p_screen) {
|
||||
|
||||
String to_path = ProjectSettings::get_singleton()->globalize_path(get_filesystem_dock()->get_current_path());
|
||||
String to_path = ProjectSettings::get_singleton()->globalize_path(get_filesystem_dock()->get_selected_path());
|
||||
DirAccessRef dir = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
|
||||
|
||||
Vector<String> just_copy = String("ttf,otf").split(",");
|
||||
|
|
Loading…
Reference in a new issue