Skip to content

Commit

Permalink
refactor: changed reimport messages to reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
sinnwrig committed Oct 3, 2024
1 parent 2736580 commit 8423552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Prowl.Editor/Assets/AssetDatabase.Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static void Update(bool doUnload = true, bool forceCacheUpdate = false)
foreach (var file in toReimport)
{
Reimport(new(file));
Debug.Log("Imported: " + $"{ToRelativePath(new(file))}!");
// Debug.Log("Imported: " + $"{ToRelativePath(new(file))}!");
}

if (doUnload)
Expand Down Expand Up @@ -330,7 +330,7 @@ public static void ReimportFolder(DirectoryInfo directory)
/// <returns>True if the asset was reimported successfully, false otherwise.</returns>
public static bool Reimport(FileInfo assetFile, bool disposeExisting = true)
{
Debug.Log($"Attempting to Import {Path.GetRelativePath(Project.Active.ProjectPath, assetFile.FullName)}!");
Debug.Log($"Reimporting {Path.GetRelativePath(Project.Active.ProjectPath, assetFile.FullName)}!");
ArgumentNullException.ThrowIfNull(assetFile);

// Dispose if we already have it
Expand Down

0 comments on commit 8423552

Please sign in to comment.