Ticket #1669 (closed defect: fixed)
msSaveMap() doesn't save TRANSPARENCY ALPHA properly
| Reported by: | dmorissette | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapServer C Library | Version: | 4.8 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
msSaveMap() currently writes "TRNASPARENCY 1000" instead of "TRANSPARENCY ALPHA", a special case needs to be added for that in writeLayer(). While checking mapfile.c, I noticed that loadLayer() uses "getIntegerOrSymbol(&(layer->transparency), 1, MS_GD_ALPHA)" but loadLayerString() uses "getInteger(&(layer->transparency))". Steve, can you please confirm that they should both be using getIntegerOrSymbol()? I'll take care of fixing this once I get confirmation from you Steve.
Change History
Note: See
TracTickets for help on using
tickets.
