Skip to content

[Bug]: Campaign halos (due in 1.19) with multiple halo parts no longer render correctly #5947

@Baaaaaz

Description

@Baaaaaz

Describe the Bug

Campaign halos (due in 1.19) with multiple halo parts no longer render correctly.

To Reproduce

Spin up a develop build.
Add this to a campaign properties halo:

Clownfish: circle 10#ffa500 10#000000(0,100,50,10) 10#ffffff(0,110,30,20)

Save the campaign properties and then apply the halo to a token.
Observe just an orange ring is produced. It is missing the the black and white arcs.

In fact they are there, just underneath the orange ring which can be observed if the halo colors are transparent

Clownfish2: circle 10#ffa50055 10#00000055(0,100,50,10) 10#ffffff55(0,110,30,20)

Expected Behaviour

Halos and their respective haloparts need to be rendered in a special order:

  • Halos are rendered in reverse order (so outerward halos with the FILL option do not cover over innerward halos)
  • Haloparts are rendered in normal order (so haloparts specified Left -> Right in the campaign halo string syntax are rendered First -> Last (or visually Bottom -> Top))

Screenshots

No response

MapTool Info

Develop

Desktop

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions