Use FloatUtil.ToString everywhere possible to preserve exact values

This commit is contained in:
dexy
2022-01-31 00:14:44 +11:00
Unverified
parent 4e1b31d957
commit 8c037e24f0
2 changed files with 10 additions and 19 deletions
@@ -57,7 +57,7 @@ namespace CodeWalker.Project.Panels
BBMinTextBox.Text = FloatUtil.GetVector3String(CurrentArchetype._BaseArchetypeDef.bbMin);
BBMaxTextBox.Text = FloatUtil.GetVector3String(CurrentArchetype._BaseArchetypeDef.bbMax);
BSCenterTextBox.Text = FloatUtil.GetVector3String(CurrentArchetype._BaseArchetypeDef.bsCentre);
BSRadiusTextBox.Text = CurrentArchetype._BaseArchetypeDef.bsRadius.ToString(CultureInfo.InvariantCulture);
BSRadiusTextBox.Text = FloatUtil.ToString(CurrentArchetype._BaseArchetypeDef.bsRadius);
if (CurrentArchetype is MloArchetype MloArchetype)
{