You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
new file dialog!
-ItemList control for easier lists/thumbnails -New file dialog, with support for thumbnails, favorites, recent places, etc -Moved .fscache out of the project, no more bugs due to committed/pulled .fscache! -Dir dialog now sorts directories
This commit is contained in:
@@ -171,7 +171,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
||||
if (!_validate_no_foreign())
|
||||
break;
|
||||
|
||||
file->set_mode(FileDialog::MODE_OPEN_FILE);
|
||||
file->set_mode(EditorFileDialog::MODE_OPEN_FILE);
|
||||
List<String> extensions;
|
||||
ResourceLoader::get_recognized_extensions_for_type("PackedScene",&extensions);
|
||||
file->clear_filters();
|
||||
@@ -484,7 +484,7 @@ void SceneTreeDock::_notification(int p_what) {
|
||||
"MoveDown",
|
||||
"Duplicate",
|
||||
"Reparent",
|
||||
"Del",
|
||||
"Remove",
|
||||
};
|
||||
|
||||
for(int i=0;i<TOOL_BUTTON_MAX;i++)
|
||||
@@ -1355,7 +1355,7 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor,Node *p_scene_root,EditorSelec
|
||||
accept = memnew( AcceptDialog );
|
||||
add_child(accept);
|
||||
|
||||
file = memnew( FileDialog );
|
||||
file = memnew( EditorFileDialog );
|
||||
add_child(file);
|
||||
file->connect("file_selected",this,"instance");
|
||||
set_process_unhandled_key_input(true);
|
||||
|
||||
Reference in New Issue
Block a user