VTTAssets / vtta-tokenizer

Tiny yet capable in-game token editor, requires trusted user level for uploads
MIT License
7 stars 8 forks source link

Moving an avatar image prevents Tokenizer from changing its path #23

Open feltz916 opened 3 years ago

feltz916 commented 3 years ago

I know this is not a normal flow, however this error only occurs when using the Tokenizer UI.

Steps to reproduce:

  1. Move your avatar art to a different location on the server.
  2. Open up the actor in the default sheet.
  3. Click the button "Use image from Foundry Server"
  4. Browse to the folder where the image was moved to, and click select file to choose it.

Results: An error occurs on the server side: "TypeError: Cannot read property 'addImageLayer' of null

Notes: I can work around the issue, but it is a painful process, by switching my actor sheet to one that does not support Tokenizer (like MonsterBlock 5e) and it will allow me to assign the image without errors.