[mapserver-commits] [mapserver/mapserver] eb6a62: Styling - Fixes alpha value for hex colors (#6023)

ravhed noreply at github.com
Wed Apr 1 06:40:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: eb6a62e4b7a56cb98e22865c557023adc519135a
      https://github.com/mapserver/mapserver/commit/eb6a62e4b7a56cb98e22865c557023adc519135a
  Author: ravhed <erik.ravhed at gmail.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M maputil.c
    A msautotest/renderers/expected/polygon-hex-alpha.png
    A msautotest/renderers/polygon-hex-alpha.map
    M msautotest/sld/expected/size_sldbody.png
    M msautotest/sld/expected/sld_point_literal_displacementx.png
    M msautotest/sld/expected/sld_point_literal_displacementy.png
    M msautotest/sld/expected/sld_point_literal_fill.png
    M msautotest/sld/expected/sld_point_literal_opacity.png
    M msautotest/sld/expected/sld_point_literal_rotation.png
    M msautotest/sld/expected/sld_point_literal_size.png
    M msautotest/sld/expected/sld_point_literal_stroke.png
    M msautotest/sld/expected/sld_point_literal_strokewidth.png
    M msautotest/sld/expected/sld_reference.png
    M msautotest/sld/expected/sld_text_expression_fontsize.png
    M msautotest/sld/expected/sld_text_expression_rotation.png
    M msautotest/sld/expected/sld_text_literal_fill.png
    M msautotest/sld/expected/sld_text_literal_fontsize.png
    M msautotest/sld/expected/sld_text_literal_halofill.png
    M msautotest/sld/expected/sld_text_literal_rotation.png
    M msautotest/sld/expected/sld_text_propertyname_fill.png
    M msautotest/sld/expected/sld_text_propertyname_fontsize.png
    M msautotest/sld/expected/sld_text_propertyname_halofill.png
    M msautotest/sld/expected/sld_text_propertyname_rotation.png

  Log Message:
  -----------
  Styling - Fixes alpha value for hex colors (#6023)

Fixes #5882. The issue was introduced by the following commit:

https://github.com/mapserver/mapserver/commit/4fbd7aee1fa2864bf320e9756296b0912774afeb

This commit changes back to the old behavior so that opacity is only
applied if the style have any bindings. A test case to test this
has also been added.




More information about the mapserver-commits mailing list