Skip to content
Permalink
Browse files
msSLDApplySLD(): fix wrong index use (patch by wdc-rsat, fixes #5505)
  • Loading branch information
rouault committed Oct 31, 2017
1 parent e79be80 commit 91fafe426c00c348c068be7deb35cd45d1fe262d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -329,7 +329,7 @@ int msSLDApplySLD(mapObj *map, char *psSLDXML, int iLayer, char *pszStyleLayerNa

/* opacity for sld raster */
if (GET_LAYER(map, i)->type == MS_LAYER_RASTER &&
pasLayers[i].compositer && pasLayers[j].compositer->opacity != 100)
pasLayers[j].compositer && pasLayers[j].compositer->opacity != 100)
msSetLayerOpacity(GET_LAYER(map, i), pasLayers[j].compositer->opacity);

/* mark as auto-generate SLD */

0 comments on commit 91fafe4

Please sign in to comment.