1
0
mirror of synced 2025-01-19 09:17:30 +01:00

Fix DAE decimal seperators on different languages

This commit is contained in:
KillzXGaming 2019-11-16 11:03:11 -05:00
parent 69e45dcead
commit 134a21bab0

View File

@ -46,6 +46,11 @@ namespace Toolbox.Library.Collada
Indentation = 2,
};
System.Globalization.CultureInfo customCulture = (System.Globalization.CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
customCulture.NumberFormat.NumberDecimalSeparator = ".";
System.Threading.Thread.CurrentThread.CurrentCulture = customCulture;
WriteDAEHeader();
}
@ -864,6 +869,10 @@ namespace Toolbox.Library.Collada
Writer?.Close();
}
private static void WriteFloats(object[] values)
{
}
private class ValueContainer<T> : IEquatable<ValueContainer<T>> where T : struct
{