caewok / fvtt-elevated-vision

Adjust Foundry VTT vision, lighting, and token elevations based on terrain, wall, or token elevation.
MIT License
12 stars 5 forks source link

Token elevation does not set when a new token is created #115

Open MarlQ opened 4 months ago

MarlQ commented 4 months ago

When you create a new token (e.g. by dragging it from the sidebar onto the canvas), the token elevation is not initialised to the terrain height. The elevation is only set once you actually move the token.

I tried to fix it, but I ran into issues with the ElevationCalculator initialisation.