[GRASS-SVN] r58784 - grass/branches/develbranch_6/visualization/nviz/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 26 23:01:12 PST 2014
Author: hamish
Date: 2014-01-26 23:01:12 -0800 (Sun, 26 Jan 2014)
New Revision: 58784
Modified:
grass/branches/develbranch_6/visualization/nviz/scripts/panel_main.tcl
Log:
add a comment explaining behaviour which may be unexpected
Modified: grass/branches/develbranch_6/visualization/nviz/scripts/panel_main.tcl
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/scripts/panel_main.tcl 2014-01-26 10:40:43 UTC (rev 58783)
+++ grass/branches/develbranch_6/visualization/nviz/scripts/panel_main.tcl 2014-01-27 07:01:12 UTC (rev 58784)
@@ -314,6 +314,8 @@
puts $file_hook "[$Nv_(HEIGHT_SLIDER).f.entry get]"
puts $file_hook "[Nv_getXYPos XY_POS]"
puts $file_hook "[Nhas_focus]"
+ # Note that the user must keep the g.region settings the same to get the same view upon load!
+ # Focus is relative to nviz canvas not map coords. See also "focus_real".
puts $file_hook "[Nget_focus]"
# if not focused, should use view_to
}
@@ -335,7 +337,7 @@
Nv_scaleCallback $Nv_(main_BASE).bframe.cframe.pers e 0 null [expr int($data)]
update
- # zexag
+ # z-exag
gets $file_hook data
Nv_setEntry $Nv_(main_BASE).midf.zexag.f.entry $data
Nv_floatscaleCallback $Nv_(main_BASE).midf.zexag e 2 null $data
More information about the grass-commit
mailing list