diff --git a/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs b/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs index 6476da74..d2046973 100644 --- a/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs +++ b/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs @@ -94,9 +94,6 @@ namespace Toolbox.Library.Animations public void Save(string FileName) { - System.Globalization.CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone(); - customCulture.NumberFormat.NumberDecimalSeparator = "."; - StringBuilder o = new StringBuilder(); o.AppendLine("version 1"); diff --git a/Toolbox/Program.cs b/Toolbox/Program.cs index ad1a09b1..e59c52ca 100644 --- a/Toolbox/Program.cs +++ b/Toolbox/Program.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; +using System.Globalization; +using System.Threading; using System.Runtime.InteropServices; using System.Reflection; using Microsoft.VisualBasic.ApplicationServices; @@ -23,6 +25,7 @@ namespace Toolbox Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); + Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); Toolbox.Library.Runtime.ExecutableDir = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location); string[] args = Environment.GetCommandLineArgs();