[GRASS-SVN] r35811 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 8 10:43:05 EST 2009


Author: martinl
Date: 2009-02-08 10:43:05 -0500 (Sun, 08 Feb 2009)
New Revision: 35811

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI/nviz: fix trac #482
           (merge from trunk, r35809)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py	2009-02-08 15:42:35 UTC (rev 35810)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py	2009-02-08 15:43:05 UTC (rev 35811)
@@ -1297,7 +1297,7 @@
                     if mapWin.IsLoaded(layer):
                         mapWin.UnloadVector(layer)
                     
-                    mapWin.LoadVector(mapLayer)
+                    mapWin.LoadVector(layer)
 
                 # reset view when first layer loaded
                 nlayers = len(mapWin.Map.GetListOfLayers(l_type=('raster', 'vector'),



More information about the grass-commit mailing list