[GRASS-SVN] r53163 - in grass/branches/develbranch_6/gui: scripts wxpython/lmgr wxpython/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 11 01:36:22 PDT 2012
Author: martinl
Date: 2012-09-11 01:36:22 -0700 (Tue, 11 Sep 2012)
New Revision: 53163
Added:
grass/branches/develbranch_6/gui/scripts/d.rast3d.py
Removed:
grass/branches/develbranch_6/gui/wxpython/scripts/d.rast3d.py
Modified:
grass/branches/develbranch_6/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: attemt to fix #1729 (Add 3d raster does not open GUI)
Copied: grass/branches/develbranch_6/gui/scripts/d.rast3d.py (from rev 53162, grass/branches/develbranch_6/gui/wxpython/scripts/d.rast3d.py)
===================================================================
--- grass/branches/develbranch_6/gui/scripts/d.rast3d.py (rev 0)
+++ grass/branches/develbranch_6/gui/scripts/d.rast3d.py 2012-09-11 08:36:22 UTC (rev 53163)
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+#
+############################################################################
+#
+# MODULE: d.rast3d
+#
+# AUTHOR(S): Martin Landa <landa.martin gmail.com>
+#
+# PURPOSE: Wrapper for wxGUI to add 3D raster map into layer tree
+#
+# COPYRIGHT: (C) 2008, 2010, 2012 by the GRASS Development Team
+#
+# This program is free software under the GNU General
+# Public License (>=v2). Read the file COPYING that
+# comes with GRASS for details.
+#
+#############################################################################
+
+#%module
+#% description: Displays user-specified 3D raster map in the active graphics frame.
+#% keywords: display, raster3d
+#%end
+
+#%option
+#% key: map
+#% type: string
+#% gisprompt: old,grid3,3d-raster
+#% description: 3D raster map to be displayed
+#% required : yes
+#%end
+
+from grass.script import core as grass
+
+if __name__ == "__main__":
+ options, flags = grass.parser()
+ main()
Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/layertree.py 2012-09-11 08:21:15 UTC (rev 53162)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/layertree.py 2012-09-11 08:36:22 UTC (rev 53163)
@@ -987,7 +987,7 @@
cmd.append('-o')
elif ltype == '3d-raster':
- cmd = ['d.rast3d']
+ cmd = ['d.rast3d.py']
elif ltype == 'rgb':
cmd = ['d.rgb']
Deleted: grass/branches/develbranch_6/gui/wxpython/scripts/d.rast3d.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/scripts/d.rast3d.py 2012-09-11 08:21:15 UTC (rev 53162)
+++ grass/branches/develbranch_6/gui/wxpython/scripts/d.rast3d.py 2012-09-11 08:36:22 UTC (rev 53163)
@@ -1,36 +0,0 @@
-#!/usr/bin/env python
-#
-############################################################################
-#
-# MODULE: d.rast3d
-#
-# AUTHOR(S): Martin Landa <landa.martin gmail.com>
-#
-# PURPOSE: Wrapper for wxGUI to add 3D raster map into layer tree
-#
-# COPYRIGHT: (C) 2008, 2010 by the GRASS Development Team
-#
-# This program is free software under the GNU General
-# Public License (>=v2). Read the file COPYING that
-# comes with GRASS for details.
-#
-#############################################################################
-
-#%module
-#% description: Displays 3D raster map layer.
-#% keywords: display, raster3d
-#%end
-
-#%option
-#% key: map
-#% type: string
-#% gisprompt: old,grid3,3d-raster
-#% description: 3D raster map to be displayed
-#% required : yes
-#%end
-
-from grass.script import core as grass
-
-if __name__ == "__main__":
- options, flags = grass.parser()
- main()
More information about the grass-commit
mailing list