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

Walled template causes overhead tiles to appear under tokens #62

Closed
morepurplemorebetter opened this issue Sep 12, 2023 · 3 comments
Closed

Comments

@morepurplemorebetter
Copy link
Contributor

I am not sure what is causing this issue, but when I turn off the Walled Template module, the problem disappears. While Walled Templates is active in my world, overhead tiles are rendered underneath tokens.

@morepurplemorebetter
Copy link
Contributor Author

morepurplemorebetter commented Sep 13, 2023

Testing this on a fresh world, with no other modules active, I see that this issue isn't caused by Walled Templates (alone). The issue shows itself when I activate both the "Walled Templates" and the "Better Roofs" module (and nothing else).

Perhaps you can fix the problem or include an incompatibility warning in the readme.

EDIT: this was wrong, see comment below.

@morepurplemorebetter
Copy link
Contributor Author

morepurplemorebetter commented Sep 13, 2023

Correction to my previous comment: There are no other modules (or module-interactions) causing this issue, it is solely caused by Walled Templates. You just need to refresh the page before it becomes visible with tiles you added/edited during the current browser session.

 

How to test:

  1. Start a fresh world
  2. Enable Walled Templates (and libWrapper)
  3. Edit a tile to be overhead (or add a new tile and make it overhead)
  4. Add a token and put it "under" this overhead tile
  5. Refresh the page
  6. See that the token is now standing on top of the overhead tile

 

Tested with:

  • FoundryVTT v11.307, v11.308
  • Walled Templates v0.6.6, v0.6.7, and v0.6.8

@caewok
Copy link
Owner

caewok commented Sep 14, 2023

Thanks for the careful writeup! Fixed in v0.6.9.

(The issue is related to some weirdness in how Foundry v11 treats tile elevation—it is a document property but not really. Walled Templates doesn't need to mess with tile elevation, but for compatibility with Elevated Vision it shares some code that I tweaked to hopefully fix the issue.)

@caewok caewok closed this as completed Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants