[Greater-commits] r368 - trunk/GREAT-ER/Thuban/UI

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jul 7 14:55:02 CEST 2011


Author: aheinecke
Date: 2011-07-07 14:55:02 +0200 (Thu, 07 Jul 2011)
New Revision: 368

Modified:
   trunk/GREAT-ER/Thuban/UI/renderer.py
Log:
Correct the syntax of the additonal rendering checks


Modified: trunk/GREAT-ER/Thuban/UI/renderer.py
===================================================================
--- trunk/GREAT-ER/Thuban/UI/renderer.py	2011-07-07 10:01:47 UTC (rev 367)
+++ trunk/GREAT-ER/Thuban/UI/renderer.py	2011-07-07 12:55:02 UTC (rev 368)
@@ -97,7 +97,7 @@
         """
         if (layer.ShapeStore().RawShapeFormat() == RAW_SHAPEFILE
             and layer.ShapeType() in (SHAPETYPE_ARC, SHAPETYPE_POLYGON)
-            and layer.projection and self.map.projection:
+            and layer.projection and self.map.projection):
             offx, offy = self.offset
             x = lambda a, b, c, d: None
             #return (True, x, None)



More information about the Greater-commits mailing list