Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FileSystemDock thumbnails sometimes not displaying
There were (at least) three cases where thumbnails would not display, if they were generated while the FileSystemDock was not visible: - current_path == "Favorites", due to p_path not starting with "Favorites" - current_path == "res://", due to current_path having last "/" trimmed for comparison - current_path pointing to a selected file instead of folder, since it no longer matches p_path's base directory This change removes the current_path and is_visible_in_tree checks when determining whether to update the file's icon. Fixes godotengine#90801 Fixes godotengine#91432
- Loading branch information