Skip to content

Commit 3ee9d49

Browse files
committed
Update MRTKFiles.cs
1 parent 10a0cad commit 3ee9d49

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

org.mixedrealitytoolkit.core/Editor/MRTKFiles.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static void OnPostprocessAllAssets(string[] importedAssets, string[] dele
5858
if (Path.GetFileName(asset) == GeneratedSentinelFileName && Path.GetDirectoryName(asset) == generatedFolderPath)
5959
{
6060
generatedFolderPath = string.Empty;
61+
break;
6162
}
6263
}
6364

@@ -72,9 +73,10 @@ public static void OnPostprocessAllAssets(string[] importedAssets, string[] dele
7273
{
7374
Debug.LogWarning($"Previous MRTK.Generated folder was not unregistered properly: {generatedFolderPath}.\nReplacing with {newPath}");
7475
}
75-
Debug.Log($"Found MRTK.Generated at {newPath}.");
76+
Debug.Log($"Found MRTK.Generated sentinel at {newPath}.");
7677
generatedFolderPath = newPath;
7778
}
79+
break;
7880
}
7981
}
8082
}

0 commit comments

Comments
 (0)