Fix SMD exporting for different culture decimal seperators

This commit is contained in:
KillzXGaming 2020-02-11 17:55:57 -05:00
parent 946fa08518
commit 9918b811a8

View file

@ -94,6 +94,9 @@ namespace Toolbox.Library.Animations
public void Save(string FileName) 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(); StringBuilder o = new StringBuilder();
o.AppendLine("version 1"); o.AppendLine("version 1");