jschuengel: thuban/Extensions/umn_mapserver mapfile.py,1.11,1.12
cvs@intevation.de
cvs at intevation.de
Fri Sep 3 19:00:12 CEST 2004
Author: jschuengel
Update of /thubanrepository/thuban/Extensions/umn_mapserver
In directory doto:/tmp/cvs-serv23554
Modified Files:
mapfile.py
Log Message:
Fix a small bug with the line color.
Now the line color will now only set if it is set in Thuban an not Transparent.
Index: mapfile.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/umn_mapserver/mapfile.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- mapfile.py 9 Aug 2004 11:38:47 -0000 1.11
+++ mapfile.py 3 Sep 2004 17:00:10 -0000 1.12
@@ -479,7 +479,8 @@
new_styleobj.set_color(tb_style.GetFill())
else:
new_styleobj.set_size(tb_style.GetLineWidth())
- new_styleobj.set_linecolor(tb_style.GetLineColor())
+ if tb_style.GetLineColor() != Transparent:
+ new_styleobj.set_linecolor(tb_style.GetLineColor())
new_styleobj.set_color(tb_style.GetFill())
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)