OpenSpace / OpenSpace

This is the official GitHub repository for OpenSpace: an open source astrovisualization project. For instructions on how to build and run OpenSpace, see the Getting Started Guides on the wiki page at http://docs.openspaceproject.com.
http://openspaceproject.com
Other
773 stars 121 forks source link

Editor: Problem when entering numbers with decimals #2596

Open Arohdin opened 1 year ago

Arohdin commented 1 year ago

There's an issue in the "Set Camera Position -> Geo State" tab when trying to set the longitude and latitude if you are using a keyboard/region format that is using comma ( , ) instead of a dot ( . ) for the decimal point. If the PC is set to use comma as decimal point it's not possible to enter a dot - which is required as the program won't save if you're using something else.

editor_locale_wrong

You need to change region format

editor_locale_correct

alexanderbock commented 1 year ago
  1. UI should convert from user-locale to us-locale before passing on the value to OpenSpace
  2. Alternative: enforcing us-locale in the editor