mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[FileSystem Dock] Add option to show some unsupported files in the dock.
This commit is contained in:
parent
b6223c0df0
commit
22b19c433f
8 changed files with 51 additions and 8 deletions
|
@ -271,7 +271,7 @@ bool FileSystemDock::_create_tree(TreeItem *p_parent, EditorFileSystemDirectory
|
|||
List<FileInfo> file_list;
|
||||
for (int i = 0; i < p_dir->get_file_count(); i++) {
|
||||
String file_type = p_dir->get_file_type(i);
|
||||
if (file_type != "TextFile" && _is_file_type_disabled_by_feature_profile(file_type)) {
|
||||
if (file_type != "TextFile" && file_type != "OtherFile" && _is_file_type_disabled_by_feature_profile(file_type)) {
|
||||
// If type is disabled, file won't be displayed.
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue