[GRASS-SVN] r41205 - grass/trunk/visualization/nviz/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 27 12:49:35 EST 2010
Author: marisn
Date: 2010-02-27 12:49:35 -0500 (Sat, 27 Feb 2010)
New Revision: 41205
Modified:
grass/trunk/visualization/nviz/scripts/attPopup.tcl
Log:
nviz: Don't fail when user cancels surface property raster map choose window
Modified: grass/trunk/visualization/nviz/scripts/attPopup.tcl
===================================================================
--- grass/trunk/visualization/nviz/scripts/attPopup.tcl 2010-02-27 17:35:59 UTC (rev 41204)
+++ grass/trunk/visualization/nviz/scripts/attPopup.tcl 2010-02-27 17:49:35 UTC (rev 41205)
@@ -261,7 +261,7 @@
global attPopup_Status attPopup_Type
set new [create_map_browser .browse_topo_file surf 1]
- if { $new == "" } then { return }
+ if { $new == "" || $new == -1 } then { return }
puts "returned from create_map_browser"
set attPopup_Type non_constant
More information about the grass-commit
mailing list