[GRASS-SVN] r54333 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 18 09:19:13 PST 2012


Author: annakrat
Date: 2012-12-18 09:19:13 -0800 (Tue, 18 Dec 2012)
New Revision: 54333

Modified:
   grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI/layertree: fix setting comp region for more maps

Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py	2012-12-18 13:32:38 UTC (rev 54332)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py	2012-12-18 17:19:13 UTC (rev 54333)
@@ -578,8 +578,8 @@
         vect = []
         rast3d = []
         for layer in self.GetSelections():
-            mapLayer = self.GetLayerInfo(self.layer_selected, key = 'maplayer')
-            mltype = self.GetLayerInfo(self.layer_selected, key = 'type')
+            mapLayer = self.GetLayerInfo(layer, key = 'maplayer')
+            mltype = self.GetLayerInfo(layer, key = 'type')
                 
             if mltype == 'raster':
                 rast.append(mapLayer.GetName())



More information about the grass-commit mailing list