From 1c550cc0248023b5ee475a29888c2c13e742be46 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 27 Aug 2010 11:07:39 +0200 Subject: [PATCH] insist on the correct locale --- src/mitsuba/shandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mitsuba/shandler.cpp b/src/mitsuba/shandler.cpp index 26060dd2..a6c9e5ec 100644 --- a/src/mitsuba/shandler.cpp +++ b/src/mitsuba/shandler.cpp @@ -4,6 +4,9 @@ SceneHandler::SceneHandler() : m_isIncludedFile(false) { m_pluginManager = PluginManager::getInstance(); +#if !defined(WIN32) + setlocale(LC_NUMERIC, "C"); +#endif } SceneHandler::SceneHandler(const std::map ¶ms,