From ba43fa5633af8a6441dfa6c96aabca00b03156c3 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Thu, 13 Feb 2020 18:55:57 -0500 Subject: [PATCH] Fix periods for SMD again, this time on the right save method --- Switch_Toolbox_Library/FileFormats/Animation/SMD.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs b/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs index d6292755..276af792 100644 --- a/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs +++ b/Switch_Toolbox_Library/FileFormats/Animation/SMD.cs @@ -283,6 +283,9 @@ namespace Toolbox.Library.Animations public static void Save(Animation anim, STSkeleton Skeleton, String Fname) { + System.Globalization.CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone(); + customCulture.NumberFormat.NumberDecimalSeparator = "."; + using (System.IO.StreamWriter file = new System.IO.StreamWriter(@Fname)) { file.WriteLine("version 1");