Merge branch 'refresh-selection' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-refresh-selection

This commit is contained in:
Wojtek Figat
2024-02-19 19:03:29 +01:00

View File

@@ -79,6 +79,13 @@ namespace FlaxEditor.Windows
if (item.HasDefaultThumbnail == false)
{
if (_view.SelectedCount > 1)
cm.AddButton("Refresh thumbnails", () =>
{
foreach (var e in _view.Selection)
e.RefreshThumbnail();
});
else
cm.AddButton("Refresh thumbnail", item.RefreshThumbnail);
}