manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
39 stars 52 forks source link

In 1.13.2 Drag Ruler no longer computes difficult terrain #243

Closed Zamrod closed 1 year ago

Zamrod commented 1 year ago

With just the following modules enabled, difficult terrain is not computed. The normal ruler still shows difficult terrain correctly:

image

There is an error in the console saying:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'x')
[Detected 1 package: drag-ruler]
    at foundry_imports.js:63:33
    at Array.map (<anonymous>)
    at DragRulerRuler.animateEntities (foundry_imports.js:56:39)
    at DragRulerRuler.moveEntities (foundry_imports.js:47:24)
manuelVo commented 1 year ago

I cannot reproduce this. Please try if this also happens in an empty world with freshly drawn terrain.

Zamrod commented 1 year ago

It works after deleting the terrain and recreating it. You can close this, it looks like it is working fine.

On Mon, Oct 17, 2022 at 5:21 AM Manuel Vögele @.***> wrote:

I cannot reproduce this. Please try if this also happens in an empty world with freshly drawn terrain.

— Reply to this email directly, view it on GitHub https://github.com/manuelVo/foundryvtt-drag-ruler/issues/243#issuecomment-1280630688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC75BGIBCQHGYVW3FO3QJHLWDUSBPANCNFSM6AAAAAARGNQYGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Chris Wachal