diff options
Diffstat (limited to 'src/admesh/stlinit.cpp')
-rw-r--r-- | src/admesh/stlinit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/admesh/stlinit.cpp b/src/admesh/stlinit.cpp index 6aa2c4417..29131b1c7 100644 --- a/src/admesh/stlinit.cpp +++ b/src/admesh/stlinit.cpp @@ -32,6 +32,8 @@ #include "stl.h" +#include "libslic3r/LocalesUtils.hpp" + #ifndef SEEK_SET #error "SEEK_SET not defined" #endif @@ -232,6 +234,7 @@ static bool stl_read(stl_file *stl, FILE *fp, int first_facet, bool first) bool stl_open(stl_file *stl, const char *file) { + Slic3r::CNumericLocalesSetter locales_setter; stl->clear(); FILE *fp = stl_open_count_facets(stl, file); if (fp == nullptr) |