1
0
mirror of synced 2025-02-22 21:30:28 +01:00

SMD : Quick culture fix

This commit is contained in:
KillzXGaming 2020-10-23 19:36:18 -04:00
parent a3bfa61275
commit f4369456ae

View File

@ -100,7 +100,7 @@ namespace Toolbox.Library.Animations
public void Save(string FileName) public void Save(string FileName)
{ {
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); var culture = new CultureInfo("en-US");
StringBuilder o = new StringBuilder(); StringBuilder o = new StringBuilder();
@ -118,7 +118,7 @@ namespace Toolbox.Library.Animations
for (int i = 0; i < Bones.bones.Count; i++) for (int i = 0; i < Bones.bones.Count; i++)
{ {
STBone b = Bones.bones[i]; STBone b = Bones.bones[i];
o.AppendFormat("{0} {1} {2} {3} {4} {5} {6}\n", i, o.AppendFormat(culture, "{0} {1} {2} {3} {4} {5} {6}\n", i,
b.Position.X, b.Position.X,
b.Position.Y, b.Position.Y,
b.Position.Z, b.Position.Z,