Hi all. In my project i use BlenderLoader (“jme3-blender” package) for loading blender scene. My objects have some custom properties which used in my code as userData.
But i observed weird behavior when get value of property in code.
Float mass = node.getUserData("mass");
This line of code return NaN, but value in blender equal 0.860. If i change to other value (example 0.87) returning value is ok. I noticed, that value return NaN: 0.6, 0.62, 0.64, 0.66, x.86 where x is any number and etc…
This might be not directly related to this topic, but this was kind of surprise to me how much this can matter. Recently we met this kind of trouble opening .csv file in libreoffice under DE-DE locale, where triples like 1,000,123 were treated as single value 1000123 while something like 12,34 was treated as two values 12 and 34 as expected. I never met such things before, working mostly under EN-US/RU-RU locales.
Edit: I gave not the best example, cause seeing triple ‘000’ one can assume it’s part of something bigger, but real values were random, it was only character quantity what’s matter. If it was 3, it was considered part of bigger number, if it was 2 or 4 or 5 it was considered separate values.