[GRASS-SVN] r48586 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 1 16:21:27 EDT 2011


Author: hamish
Date: 2011-10-01 13:21:27 -0700 (Sat, 01 Oct 2011)
New Revision: 48586

Modified:
   grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
Log:
partial revert of r48155: although distance is a major effect of changing
perspective, perspective also warps space- they are not the same thing.
pure distance is controled by the camera positioning puck. simplifying
text is all well and good, but once it becomes technically incorrect it
has gone too far as it plants misleading ideas in users' minds.


Modified: grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-10-01 17:15:41 UTC (rev 48585)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-10-01 20:21:27 UTC (rev 48586)
@@ -321,10 +321,10 @@
         # set initial defaults here (or perhaps in a default values file), not in user settings
         #todo: consider setting an absolute max at 360 instead of undefined. (leave the default max value at pi)
         self._createControl(panel, data = self.win['view'], name = 'persp',
-                            range = (1,100),
+                            range = (1,180),
                             bind = (self.OnViewChange, self.OnViewChanged, self.OnViewChangedText))
         
-        gridSizer.Add(item = wx.StaticText(panel, id = wx.ID_ANY, label = _("Distance %:")),
+        gridSizer.Add(item = wx.StaticText(panel, id = wx.ID_ANY, label = _("Perspective:")),
                       pos = (1, 0), flag = wx.ALIGN_CENTER)
         gridSizer.Add(item = self.FindWindowById(self.win['view']['persp']['slider']), pos = (2, 0),
                       flag = wx.ALIGN_CENTER)



More information about the grass-commit mailing list