[GRASS-SVN] r35452 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 16 20:31:29 EST 2009


Author: hamish
Date: 2009-01-16 20:31:29 -0500 (Fri, 16 Jan 2009)
New Revision: 35452

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
Log:
trac #163

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2009-01-17 01:27:45 UTC (rev 35451)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2009-01-17 01:31:29 UTC (rev 35452)
@@ -975,7 +975,7 @@
         are active for the selected transformation order
         """
         if (self.GCPcount < 3 and self.gr_order == 1) or \
-            (self.GCPcount < 7 and self.gr_order == 2) or \
+            (self.GCPcount < 6 and self.gr_order == 2) or \
             (self.GCPcount < 10 and self.gr_order == 3):
             if msg:
                 wx.MessageBox(parent=self,
@@ -983,7 +983,7 @@
                               message=_('Insufficient points defined and active (checked) '
                                         'for selected rectification method.\n'
                                         '3+ points needed for 1st order,\n'
-                                        '7+ points for 2nd order, and\n'
+                                        '6+ points for 2nd order, and\n'
                                         '10+ points for 3rd order.'),
                               style=wx.ICON_INFORMATION | wx.ID_OK | wx.CENTRE)
                 return False



More information about the grass-commit mailing list