aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/particles_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-06 09:44:38 -0300
committerJuan Linietsky2015-06-06 09:44:38 -0300
commit9acab32daaea38e09c4d74d5f0340479d3dd41bd (patch)
treec978e8206cc9319f32c71168fb612fc30b4ec809 /tools/editor/plugins/particles_editor_plugin.cpp
parent07a466f6e6dd28bbb8b917690b634070537f1613 (diff)
downloadgodot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.tar.gz
godot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.tar.zst
godot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.zip
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
Diffstat (limited to 'tools/editor/plugins/particles_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/particles_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/particles_editor_plugin.cpp b/tools/editor/plugins/particles_editor_plugin.cpp
index 343122052..f6f01d82c 100644
--- a/tools/editor/plugins/particles_editor_plugin.cpp
+++ b/tools/editor/plugins/particles_editor_plugin.cpp
@@ -394,7 +394,7 @@ ParticlesEditor::ParticlesEditor() {
add_child(err_dialog);
- emission_file_dialog = memnew( FileDialog );
+ emission_file_dialog = memnew( EditorFileDialog );
add_child(emission_file_dialog);
emission_file_dialog->connect("file_selected",this,"_resource_seleted");
emission_tree_dialog = memnew( SceneTreeDialog );
@@ -410,7 +410,7 @@ ParticlesEditor::ParticlesEditor() {
emission_file_dialog->add_filter("*."+extensions[i]+" ; "+extensions[i].to_upper());
}
- emission_file_dialog->set_mode(FileDialog::MODE_OPEN_FILE);
+ emission_file_dialog->set_mode(EditorFileDialog::MODE_OPEN_FILE);
//options->set_anchor(MARGIN_LEFT,Control::ANCHOR_END);
//options->set_anchor(MARGIN_RIGHT,Control::ANCHOR_END);