1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Revert culture info for now to prevent updater issues.

This commit is contained in:
KillzXGaming 2020-06-15 21:07:26 -04:00
parent ecc43c8430
commit 0aaf6b97a3
2 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,8 @@ using System.Collections.Generic;
using System.Text.RegularExpressions;
using OpenTK;
using System.Text;
using System.Threading;
using System.Globalization;
namespace Toolbox.Library.Animations
{
@ -27,6 +29,8 @@ namespace Toolbox.Library.Animations
public void Read(string fname)
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
StreamReader reader = File.OpenText(fname);
string line;
@ -90,6 +94,8 @@ namespace Toolbox.Library.Animations
}
}
Bones.reset();
Thread.CurrentThread.CurrentCulture = CultureInfo.DefaultThreadCurrentCulture;
}
public void Save(string FileName)

View File

@ -25,7 +25,6 @@ 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();