MrPrimate / tokenizer

Tiny yet capable in-game token editor for Foundry VTT
MIT License
29 stars 25 forks source link

Rendering Tokenizer - New Significant Delay #72

Closed Jikkarr closed 2 years ago

Jikkarr commented 2 years ago

As of 3.6.3 I am experiencing a significant delay in rendering the tokenizer window. In the order of 34-35 seconds whereas before it was very quick.

Similarly adding a frame for the token is also taking an inordinate amount of time, sometimes in the order of 1 minute or more, whereas before it was also very quick.

The former delay is shown in the console log:

10:21:56.978 foundry.js:3055 Foundry VTT | Rendering Tokenizer
10:22:30.801 foundry.js:4662 Foundry VTT | Retrieved and compiled template modules/vtta-tokenizer/templates/tokenizer.hbs

Details: Foundry 9.255 Tokenizer 3.6.3 Tested with on a fresh world (Dark Heresy 2E , WFRP4E & DnD 5e system), no other modules active.

MrPrimate commented 2 years ago

What is your tokenizer setting "Directory for custom token frames" set to? ANd is there a lot of folders under it/a lot of images/files there?

Jikkarr commented 2 years ago

Ah-ha!

Thank you for such a quick follow-up. Both on the new world I created and pre-existing game worlds this field was left blank. Setting it to [data] tokenizer does indeed bring it back to a normal response time.

MrPrimate commented 2 years ago

If it has not been set/ is blank I have pushed an update in v3.6.4 which should help.