diff --git a/src/gui/main.cc.in b/src/gui/main.cc.in index 12b2d30c3fdfed2a1432ba02bf7f37a93e3e5f0d..f5bdb13c006dcf3fa5d1a6e39c9b99df4a411f02 100644 --- a/src/gui/main.cc.in +++ b/src/gui/main.cc.in @@ -56,6 +56,10 @@ int main(int argc, char *argv[]) setupApplication(); + // Set numeric locale to C so as not to disturb other libraries (like collada + // dom) relying on sscanf (locale dependant) to convert string to double. + setlocale(LC_NUMERIC, "C"); + Settings settings ("@CMAKE_INSTALL_PREFIX@"); settings.setupPaths (); switch (settings.fromArgv (argc, argv)) {