bh: thuban/Thuban/UI baserenderer.py,1.10,1.11
cvs@intevation.de
cvs at intevation.de
Tue Jul 13 13:07:47 CEST 2004
Author: bh
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv23741/Thuban/UI
Modified Files:
baserenderer.py
Log Message:
(BaseRenderer.render_map_incrementally): Fix a logic bug in the
optimization that tries not to draw layers under a raster layer.
The bug was harmless. All it effectively did was to produce The a
strange messages about not being able to draw Layer instances for
all vector layers below a raster layer which would be invisible
anyway because the raster layer currently always covers the entire
window
Index: baserenderer.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/baserenderer.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- baserenderer.py 28 May 2004 17:29:30 -0000 1.10
+++ baserenderer.py 13 Jul 2004 11:07:45 -0000 1.11
@@ -198,9 +198,10 @@
# if honor_visibility is true, only draw visible layers,
# otherwise draw all layers
if not self.honor_visibility or layer.Visible():
- if isinstance(layer, Layer) and seenRaster:
- for i in self.draw_shape_layer_incrementally(layer):
- yield True
+ if isinstance(layer, Layer):
+ if seenRaster:
+ for i in self.draw_shape_layer_incrementally(layer):
+ yield True
elif isinstance(layer, RasterLayer) \
and Thuban.Model.resource.has_gdal_support():
self.draw_raster_layer(layer)
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)