diff options
| author | Rémi Verschelde | 2017-01-21 13:07:29 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-21 13:44:27 +0100 |
| commit | 7c47769aa22176de20a10639e758e01bba2e2a11 (patch) | |
| tree | 72e2fbd7f59c02690c9d4d459e77c212130ae745 /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | 0669c9816e679619753a3d8a966c73f3dd17f86c (diff) | |
| download | godot-7c47769aa22176de20a10639e758e01bba2e2a11.tar.gz godot-7c47769aa22176de20a10639e758e01bba2e2a11.tar.zst godot-7c47769aa22176de20a10639e758e01bba2e2a11.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.
(cherry picked from commit c4d6e54e93431e94888c5594386bcd0aa22528ee)
Diffstat (limited to '')
| -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 799be854f..0a78c11ba 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; |
