ironmonk88 / enhanced-terrain-layer

MIT License
23 stars 11 forks source link

[BUG] Terrain intermittently not visible, but does calculate correctly (v10) #123

Open dineshm72 opened 1 year ago

dineshm72 commented 1 year ago

Describe the bug Terrain which is added is not visible when a token is selected, or when a token is being dragged, regardless of the setting of "toggle terrain always displayed" or the "Show on drag" setting. If you keep clicking and dragging around, eventually the terrain may show up briefly, but then it will disappear again too. With multiple players and tokens, some will see it at times and others won't.

However, the terrain itself appears to be working, because the correct movement calcs are made when moving through the difficult terrain (using related mods).

Tested with just FTC, libWrapper, socketsettings, Enhanced Terrain Layer, Drag Rule, DnD5e Drag Ruler Integration, and Terrain Ruler.

To Reproduce Steps to reproduce the behavior: Create a terrain. (I set mine to water environment.)
Click on nearby token. No terrain is visible.
Drag token. No terrain is visible, but the movement calculation will be correct over the terrain. Adjust the "toggle terrain always displayed" and "show on drag" settings. No change in the above behavior.

Expected behavior Terrain should always be visible if toggle terrain always displayed is on. Or when dragging, if show on drag is on.

Screenshots view on terrain layer:

image

view on token layer, no token selected:

image

view on token layer, token selected:

image

Please complete as much of the following information as possible:

dineshm72 commented 1 year ago

Tried with both newly added terrain and terrain which was converted from v9