TX 3D Builder open beta bug: wrong number format in txscene file
by Thorsten Schmidt · in Torque X 2D · 08/11/2008 (2:31 pm) · 6 replies
Is it possible that the format in the .txscene files is not correct?
In my files the look the following way:
-0,03343667
0,01159765
-0,3274961
0,9441895
i.e. "," instead of "." which is leading to a problem when loading the level-file in visual studio:
TorqueXmlDeserializer._SetFieldOrProperty ...
Or is this an localization problem because I'm using the german version of visual studio?
In my files the look the following way:
i.e. "," instead of "." which is leading to a problem when loading the level-file in visual studio:
TorqueXmlDeserializer._SetFieldOrProperty ...
Or is this an localization problem because I'm using the german version of visual studio?
#2
John K.
08/11/2008 (6:23 pm)
LOL! This is a good one. The problem is that Germany uses commas as decimal markers and periods as thousands separators. The Torque X Builder is using the locale settings, so everything is being formatted incorrectly for you. I'll look into this further. Can you verify in your Windows preferences that you indeed have the German number formatting set. Also can you verify (just temporarily) that going back to the US-EN number formatting fixes the problem?John K.
#3
And you are right. Switching from German number formatting to US-EN number formatting fixed the problem.
08/11/2008 (10:43 pm)
You have to think in bigger dimensions. Your software is also used on the other side of the ocean ;)And you are right. Switching from German number formatting to US-EN number formatting fixed the problem.
#4
Nothing changed here. Number format is still wrong (, instead of .)
09/11/2008 (2:09 pm)
New beta version:Nothing changed here. Number format is still wrong (, instead of .)
#5
"Added European locale resource packages with the installer. This should fix the problem, but I'll need the tester in Germany to validate the fix. If this doesn't fix the problem, please re-open."
Looks like we will need to reopen this one.
09/11/2008 (2:11 pm)
From John's notes on the bug and changes to latest build - "Added European locale resource packages with the installer. This should fix the problem, but I'll need the tester in Germany to validate the fix. If this doesn't fix the problem, please re-open."
Looks like we will need to reopen this one.
#6
09/11/2008 (2:19 pm)
Just tested it again and I'm sorry but you have to reopen this.
Torque 3D Owner Kenneth Holst
Default Studio Name