Branch: refs/heads/master Home: https://github.com/synfig/synfig Commit: fd1e5ecdc3cf2cf9cb2ee642ca7f7b89aa04b40b https://github.com/synfig/synfig/commit/fd1e5ecdc3cf2cf9cb2ee642ca7f7b89aa04b40b Author: rodolforg <rodolf...@users.noreply.github.com> Date: 2021-04-10 (Sat, 10 Apr 2021)
Changed paths: M synfig-core/src/synfig/string_helper.cpp M synfig-core/src/synfig/string_helper.h M synfig-studio/src/gui/widgets/widget_vector.cpp Log Message: ----------- sometimes Widget_Vector didn't use locale for decimal separator (#2102) Example: In Canvas Properties dialog, we have the Image Area delimited by two points: the top left corner and the bottom right corner. Both points use Widget_Vector to edit it. There, you could only type real numbers by using 'dot' (.) to separate integer from the fractional part (e.g. 4.5). However, this character depends on locale. Brazil and Germany, for example, use 'comma' (,). Another case: on the same dialog, the Focus Point field. This commit also fixes synfig::remove_trailing_zeroes() - I accidentally let two chars to be summed instead of appending them to string _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl