diff --git a/Source/Core/Editing/EditMode.cs b/Source/Core/Editing/EditMode.cs index 96354956..35d018cf 100644 --- a/Source/Core/Editing/EditMode.cs +++ b/Source/Core/Editing/EditMode.cs @@ -150,6 +150,9 @@ namespace CodeImp.DoomBuilder.Editing //mxd. Show hints for this mode General.Hints.ShowHints(this.GetType(), HintsManager.GENERAL); + + //mxd. Display new mode name + General.Interface.HideInfo(); } // Mode disengages diff --git a/Source/Core/General/General.cs b/Source/Core/General/General.cs index e9cb7622..67ac90ef 100644 --- a/Source/Core/General/General.cs +++ b/Source/Core/General/General.cs @@ -541,8 +541,6 @@ namespace CodeImp.DoomBuilder [STAThread] internal static void Main(string[] args) { - Uri localpath; - // Determine states #if DEBUG debugbuild = true; @@ -571,7 +569,7 @@ namespace CodeImp.DoomBuilder thisasm = Assembly.GetExecutingAssembly(); // Find application path - localpath = new Uri(Path.GetDirectoryName(thisasm.GetName().CodeBase)); + Uri localpath = new Uri(Path.GetDirectoryName(thisasm.GetName().CodeBase)); apppath = Uri.UnescapeDataString(localpath.AbsolutePath); // Setup directories diff --git a/Source/Core/Windows/MainForm.cs b/Source/Core/Windows/MainForm.cs index 5ac64f1d..f8f22b95 100644 --- a/Source/Core/Windows/MainForm.cs +++ b/Source/Core/Windows/MainForm.cs @@ -2999,7 +2999,7 @@ namespace CodeImp.DoomBuilder.Windows //create path string date = DateTime.Now.ToString("yyyy.MM.dd HH-mm-ss.fff"); - string revision = "R" + General.ThisAssembly.GetName().Version.MinorRevision; + string revision = (General.DebugBuild ? "DEVBUILD" : "R" + General.ThisAssembly.GetName().Version.MinorRevision); string path = Path.Combine(folder, name + date + " [" + revision + "].jpg"); //save image diff --git a/Source/Plugins/BuilderEffects/BuilderEffects.csproj b/Source/Plugins/BuilderEffects/BuilderEffects.csproj index 0827ef13..c89044d5 100644 --- a/Source/Plugins/BuilderEffects/BuilderEffects.csproj +++ b/Source/Plugins/BuilderEffects/BuilderEffects.csproj @@ -141,6 +141,9 @@ False + + +