From 842355235972f7759e3e7d9f24c4b60914c1015d Mon Sep 17 00:00:00 2001 From: Kai Angulo Date: Thu, 3 Oct 2024 00:48:36 -0700 Subject: [PATCH] refactor: changed reimport messages to reduce verbosity --- Prowl.Editor/Assets/AssetDatabase.Core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Prowl.Editor/Assets/AssetDatabase.Core.cs b/Prowl.Editor/Assets/AssetDatabase.Core.cs index 1cca34a7..162ca317 100644 --- a/Prowl.Editor/Assets/AssetDatabase.Core.cs +++ b/Prowl.Editor/Assets/AssetDatabase.Core.cs @@ -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) @@ -330,7 +330,7 @@ public static void ReimportFolder(DirectoryInfo directory) /// True if the asset was reimported successfully, false otherwise. 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