Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hex grid lightting broken if grid is adjusted before any lights are displayed #4830

Closed
kwvanderlinde opened this issue Jun 11, 2024 · 0 comments · Fixed by #4831
Closed
Assignees
Labels

Comments

@kwvanderlinde
Copy link
Collaborator

Describe the Bug

When MapTool is first opened, if the map is changed to a hex grid and the grid is adjusted before showing any grid lights, then grid lights will evermore not have the correct shape.

To Reproduce

  1. Open MapTool
  2. Edit the map and change to a vertical hex
  3. Adjust the grid, setting the size to 100 and the 2nd dimension to 400 (which will change to ~200 due to Hexagonal (Flat Top) Map Grid 2nd Size Input Mutation #2840).
  4. Edit campaign properties and add this light: grid: grid 20#000000
  5. Add a token to the map
  6. Attach the grid light to the token
  7. See the strange light shape that occurs.

Expected Behaviour

The grid lighting should be a simple area with no holes.

Screenshots

image

MapTool Info

1.13.2, develop

Desktop

Linux Mint 21.3

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging a pull request may close this issue.

1 participant