slic3r/slic3r-english-locale.patch

13 lines
407 B
Diff

diff --git a/slic3r.pl b/slic3r.pl
index 11dc2fa..80e6dc7 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -13,6 +13,7 @@ use File::Basename qw(basename);
use Getopt::Long qw(:config no_auto_abbrev);
use List::Util qw(first);
use POSIX qw(setlocale LC_NUMERIC ceil);
+$ENV{LC_NUMERIC} = 'en_US.UTF-8';
use Slic3r;
use Slic3r::Geometry qw(epsilon X Y Z deg2rad);
use Time::HiRes qw(gettimeofday tv_interval);