MaterialFoundry / LockView

Foundry VTT module: Locks the view for the purpose of using Foundry on a digital playmat, such as a horizontally mounted TV. Scales the scene so the gridsize is always displayed corresponding to a real-world size, and can block zooming and panning
15 stars 6 forks source link

[BUG] Conflict with Isometric Module #104

Open hiddenkrypt opened 11 months ago

hiddenkrypt commented 11 months ago

Setup

Describe the bug With the isometric module active, create a new scene and enable isometric mode. Then activate the Lock View Module. Even without turning on any lock view features for the scene, the scene is affected and the grid is displayed at a strange angle.

Screenshots How it should look, shown with lock view disabled/uninstalled: image

How it looks with Lock view active but not set on the scene: image

This might be related to the 0 degree rotation option, which seems to be new. I set it to 90 and it is rotating it that way after applying isometric transforms. Correct behavior probably should be to apply no rotation if it's not active, rather than rotating it "0 degrees", but I haven't looked into your code to determine if this is the actual cause yet. Just my suspicion. image

Console Log No console errors

Additional context I'm an avid user of both of these modules and have been using them for the last year without problems. I just did a big update to bring everything up to date and ran into this problem.

hiddenkrypt commented 11 months ago

I just tried installing older versions of Lock View and found the bug exists in 1.5.7 but not 1.5.5 (couldn't install 1.5.6, seems to be a dead update) For now I'll be using 1.5.5 until this gets fixed.