From 0321ad540811eec05083ab000c7aa05a0963638b Mon Sep 17 00:00:00 2001 From: Merlin <36685500+Merlin-san@users.noreply.github.com> Date: Fri, 7 Feb 2020 22:15:59 -0800 Subject: [PATCH] Disable undo recording on compile --- Assets/UdonSharp/Editor/UdonSharpProgramAsset.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/UdonSharp/Editor/UdonSharpProgramAsset.cs b/Assets/UdonSharp/Editor/UdonSharpProgramAsset.cs index f5bba220..f9f7eb0a 100644 --- a/Assets/UdonSharp/Editor/UdonSharpProgramAsset.cs +++ b/Assets/UdonSharp/Editor/UdonSharpProgramAsset.cs @@ -84,7 +84,7 @@ protected override void DoRefreshProgramActions() public void AssembleCsProgram() { - Undo.RecordObject(this, "Compile C# program"); + //Undo.RecordObject(this, "Compile C# program"); UdonSharpCompiler compiler = new UdonSharpCompiler(sourceCsScript); udonAssembly = compiler.Compile();