MrPrimate / tokenizer

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

Custom frames fail to mask. The layers below are completely hidden. Default frames work fine. #80

Closed CatbotTsumi closed 2 years ago

CatbotTsumi commented 2 years ago

Custom frames fail to mask. The layers below are completely hidden. Default frames work fine. My token frames used to work for the years ive been using this, but now its starting breaking. im also managing to make the client/browser freeze with tokenizer by doing this and pressing more buttons.

These are layers im using. Before masking

And this is what happens. After masking

There appear to be no errors in the console.

MrPrimate commented 2 years ago

Could you provide the frame you are using that definitely worked in the previous versions but not the latest one. Some frames it does have problems finding a mask for - but this should have been the case previously as well.

MrPrimate commented 2 years ago

Don't worry, I have managed to replicate, it looks like a side effect of using higher resolutions in the canvas data causes the mask detection to go wonky for more complex masks.

MrPrimate commented 2 years ago

Fixed in v3.8.1 (I hope) please let me know if this is not the case for you, and point me towards a copyof the frame.

KellethDregar commented 1 year ago

@MrPrimate Seeing this issue start happening again. Token border masks just make the image below disappear.

image

EDIT: Seems to still be working with the last version 4.1.1

image