Releases: caewok/fvtt-elevation-ruler
Distance and Speed Highlighting Improvements
Improvements to calculating distance on a grid. Improvements to splitting ruler segments when highlighting based on token speed. Closes issue #35. Improvements to treating tokens as difficult terrain for purposes of token speed highlighting.
Added a "hiking boot" displaying token movement distance in the ruler when difficult terrain is encountered (tokens or from Terrain Mapper module).
Full Changelog: 0.8.1...0.8.2
Bug fixes to pathfinding
Fix toggling pathfinding between waypoints.
Various fixes to display of ruler for other users.
Fixes for display of distance calculations between waypoints.
Possible fix for issue #33 (undefined token.bounds
).
Full Changelog: 0.8.0...0.8.1
Pathfinding
Added pathfinding toggle. Pathfinding works on gridded (both hex and square) and gridless maps. Works when dragging tokens, if Token Ruler is enabled, or when using the Ruler control and you start at a token.
To benchmark pathfinding in a scene:
api = game.modules.get("elevationruler").api;
api.pathfinding.benchPathfinding();
Refactored movement highlighting to work better with pathfinding.
Full Changelog: 0.7.8...0.8.0
Token dragging origin/destination tweaks
Tokens as difficult terrain
Allow GM to move tokens using the ruler regardless of obstacle. Closes issue #27.
Cancel the ruler when canceling the drag. Closes issue #28.
Add setting to treat tokens as difficult terrain. Closes issue #29.
Force the ruler to use the center of the (dragged) token. Closes issue #30.
Fix error message re setting when using Levels. Closes issue #31.
Import file fix
Fix incorrect Ruler.js
import. Closes issue #26.
Unsnapping the Ruler
Fix for pause/unpause game not working due to conflict with token move using spacebar.
Add handling for unsnapping from the grid. If shift is held, unsnap ruler waypoints and destination. If measuring from a token, set the origin point of the ruler to the (possibly unsnapped) token center.
Fix incorrect case on Ruler.js. Closes issue #25.
Token Ruler and Token Speed Highlighting
Add option to enable a Token Ruler when dragging tokens.
Add option to use a token speed attribute to highlight in differing colors when using the ruler (from a token) or dragging tokens.
Update shared code
Updated lib-geometry to 0.2.12.
Refactor to use Patcher class.
Updated geometry lib
Updated lib-geometry to 0.2.2.