Skip to content

Commit

Permalink
Fixed ReimportAll trying to reimport files not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsakharov committed Apr 3, 2024
1 parent 8663879 commit 149249e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Prowl.Editor/Assets/AssetDatabase.Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ public static void ReimportFolder(DirectoryInfo directory)
var files = directory.GetFiles("*", SearchOption.AllDirectories)
.Where(file => !file.FullName.EndsWith(".meta"));
foreach (var file in files)
Reimport(file);
if (ImporterAttribute.SupportsExtension(file.Extension))
Reimport(file);
}

/// <summary>
Expand Down

0 comments on commit 149249e

Please sign in to comment.