[Greater-commits] r3661 - in branches/3.0.0-all-models/GREAT-ER: . Greater/Modules

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 25 15:59:52 CEST 2011


Author: aheinecke
Date: 2011-07-25 15:59:51 +0200 (Mon, 25 Jul 2011)
New Revision: 3661

Modified:
   branches/3.0.0-all-models/GREAT-ER/
   branches/3.0.0-all-models/GREAT-ER/ChangeLog
   branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py
Log:
Merged revisions 346 via svnmerge from 
svn+ssh://wald.intevation.org/greater/trunk/GREAT-ER

........
  r346 | aheinecke | 2011-07-01 13:03:44 +0200 (Fri, 01 Jul 2011) | 3 lines
  
  Range API changed setMin no longer accepts a range so we
  set the range directly with setRange
........



Property changes on: branches/3.0.0-all-models/GREAT-ER
___________________________________________________________________
Name: svnmerge-integrated
   - /trunk/GREAT-ER:1-232,310,312-315,319,322,327,333,335,340-344
   + /trunk/GREAT-ER:1-232,310,312-315,319,322,327,333,335,340-344,346

Modified: branches/3.0.0-all-models/GREAT-ER/ChangeLog
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-25 13:54:16 UTC (rev 3660)
+++ branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-25 13:59:51 UTC (rev 3661)
@@ -7,6 +7,8 @@
 		- Change classnames to Thuban 1.2 names
 		- Inherit from the correct Tool Class from viewport
 		- Access tables over the Shapefile store
+		- Range API changed setMin no longer accepts a range so we
+		  set the range directly with setRange
 	* Greater/Dialogs/opensession.py: Add encoding line
 	* Greater/UI/session.py: Change classgen classnames to Thuban 1.2
 	* Greater/Modules/catchment.py: 

Modified: branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py	2011-07-25 13:54:16 UTC (rev 3660)
+++ branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py	2011-07-25 13:59:51 UTC (rev 3661)
@@ -1144,7 +1144,7 @@
                 group.GetProperties().SetLineWidth(1 + i*4)
                 group.GetProperties().SetLineColor(color_list[i])
                 r = Range(range_list[i])
-                group.SetMin(r)
+                group.SetRange(r)
                 group.SetLabel(label_list[i])
             layer.SetClassification(clazz)
             map.AddLayer(layer)



More information about the Greater-commits mailing list