slic3r/slic3r-english-locale.patch

13 lines
335 B
Diff

diff --git a/slic3r.pl b/slic3r.pl
index a533250..814d8b7 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -11,6 +11,7 @@ BEGIN {
use Getopt::Long qw(:config no_auto_abbrev);
use List::Util qw(first);
use POSIX qw(setlocale LC_NUMERIC);
+$ENV{LC_NUMERIC} = 'en_US.UTF-8';
use Slic3r;
use Time::HiRes qw(gettimeofday tv_interval);
$|++;