[GRASS-SVN] r41973 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 22 06:07:19 EDT 2010
Author: martinl
Date: 2010-04-22 06:07:17 -0400 (Thu, 22 Apr 2010)
New Revision: 41973
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: grass6 raster import fix
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py 2010-04-22 09:37:46 UTC (rev 41972)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py 2010-04-22 10:07:17 UTC (rev 41973)
@@ -1283,8 +1283,8 @@
if self.importType == 'gdal':
cmd = ['d.rast',
'map=%s' % name]
- if UserSettings.Get(group='cmd', key='rasterOpaque', subkey='enabled'):
- cmd.append('-n')
+ if UserSettings.Get(group='cmd', key='rasterOverlay', subkey='enabled'):
+ cmd.append('-o')
item = maptree.AddLayer(ltype='raster',
lname=name,
More information about the grass-commit
mailing list