diff options
| author | Rémi Verschelde | 2017-01-21 13:07:29 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-21 13:07:32 +0100 |
| commit | c4d6e54e93431e94888c5594386bcd0aa22528ee (patch) | |
| tree | 15a9dd7cad17c04a0dfa19ec12870d1b5804249d /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | ee0f53df52d88ca57079579f3f3e943e7e40f53a (diff) | |
| download | godot-c4d6e54e93431e94888c5594386bcd0aa22528ee.tar.gz godot-c4d6e54e93431e94888c5594386bcd0aa22528ee.tar.zst godot-c4d6e54e93431e94888c5594386bcd0aa22528ee.zip | |
Remove Quick Filter Files and fix FS search hotkey
The new Quick Filter Files behaviour since 8b47e26 had not been implemented,
so this implements it and makes it an editor hotkey instead of a menu entry.
Fixes #7582.
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp index 4b67df3a9..9f8367ff1 100644 --- a/tools/editor/plugins/spatial_editor_plugin.cpp +++ b/tools/editor/plugins/spatial_editor_plugin.cpp @@ -3437,7 +3437,7 @@ void SpatialEditor::_instance_scene() { #if 0 EditorNode *en = get_scene()->get_root_node()->cast_to<EditorNode>(); ERR_FAIL_COND(!en); - String path = en->get_scenes_dock()->get_selected_path(); + String path = en->get_filesystem_dock()->get_selected_path(); if (path=="") { set_message(TTR("No scene selected to instance!")); return; |
