[GRASS-SVN] r47845 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 23 05:47:29 EDT 2011


Author: annakrat
Date: 2011-08-23 02:47:29 -0700 (Tue, 23 Aug 2011)
New Revision: 47845

Modified:
   grass/trunk/gui/wxpython/gui_modules/wxnviz.py
Log:
wxNviz: force LC_NUMERIC to C every time when switching to 3D

Modified: grass/trunk/gui/wxpython/gui_modules/wxnviz.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxnviz.py	2011-08-23 08:52:59 UTC (rev 47844)
+++ grass/trunk/gui/wxpython/gui_modules/wxnviz.py	2011-08-23 09:47:29 UTC (rev 47845)
@@ -80,7 +80,6 @@
         
         G_gisinit("wxnviz")
         # gislib is already initialized (where?)
-        locale.setlocale(locale.LC_NUMERIC, 'C')
         G_set_error_routine(errfunc) 
         G_set_percent_routine(perfunc)
         
@@ -106,6 +105,7 @@
 
     def Init(self):
         """!Initialize window"""
+        locale.setlocale(locale.LC_NUMERIC, 'C')
         G_unset_window()
         Rast_unset_window()
         Rast__init_window()



More information about the grass-commit mailing list