After my first week using Irrlicht, I discovered a problem with SpinBox.
I was doing picking and showing the position with 3 SpinBoxes. After some time, I tried to press the button Up of one of my SpinBoxes. I realized that the number started to going down.
I saw that the storaged number was 35,3697. When the spinbox was initialized by the first time, all numbers were represented with dots, not commas. As Im at Brazil and we represent floating point numbers with comas, I would ask the Irrlicht community: is Irrlicht acessing data of microsoft windows Globalization namespace?
I wrote a temporary fix re-writting the function "fast_atof_move".
From:
Code: Select all
if (*in == '.')
To:
Code: Select all
if ((*in == '.') || (*in == ','))
Sorry for my bad English
Thx all