Skip to content

Foundry v12 fix

I am by no means a proper Foundry dev (just regular C#/JS dev) but I wanted to help out a fellow Foundry user who came for help handling their pixel artwork based campaign in Foundry v12. Found the module erroring out and attempted a (hot)fix. PIXI Scaling still seems to work as advertised after fix but should be taken a proper look at.

Commit message: In FVTT v12, canvas.environment.filters is/can be null which makes calling find on it error out. This at least fixes the find attempt. I dunno about the FXAAFilter, but setting the scale and mipmap modes still seems to work, my background pixelates/blurs accordingly in v12.

Merge request reports

Loading