Releases: Wibble199/FoundryVTT-Terrain-Height-Tools
Release v0.5.2
- Fix using Lancer-specific function for automated token elevation change feature. New code also works with more cases than the replaced function did, so THT should also work more reliably in these cases. Closes #19.
Release v0.5.1
- Fix error when using a non-zero visibility radius setting. Closes #18, thanks @Kuenaimaku
- Fix terrain always being rendered behind tiles, even when the setting was set to render in front. Thanks Aqua Socks.
Release v0.5.0
- Added support for Foundry V12.
- Dropped support for Foundry V11.
- Added ability to convert terrain shapes to scene regions.
Known Issues
In some hex configurations, THT can incorrectly report a tiny line of sight intersection between tokens when the equivalent V11 measurement wouldn't. I suspect this is related to rounding differences between V11's grid API and V12's. This only appears to happen with the token line of sight tool, not the manual line of sight ruler.
I am releasing 0.5.0 with this bug, because in most cases, I don't think this will affect your game. When inspecting the ruler visually it's quite hard to notice, and the user can just ignore it. It may however cause issues if you are using the API to programmatically test line of sight.
Release v0.4.7
Minor update which adds some backwards-compatible changes to the API. This is mainly to support the Grid-Aware Auras v0.2.0 update.
It is recommended to now specify the "group" property when using the API to draw rulers and provide a unique group name based on your module or script, as this allows isolation between other modules/scripts or makes it easier to handle drawing multiple rulers concurrently.
Release v0.4.6
Another important fix for a bug introduced with the last patch. Seems I can't stop breaking stuff at the moment 🙈
- Fix error when trying to load scenes without any THT data.
Release v0.4.5
Release v0.4.4
- Fix the top/middle/bottom buttons on the token line of sight tool not working.
- Implement a new
%t%
placeholder for labels, which is the top of the shape (elevation + height). Resolves #14, thanks @Z3nner. - When the token elevation change feature is turned on, tokens will now have their initial elevation set when being dragged onto solid terrain within the scene.
- Implement Lancer-specific logic for token heights, which should stop the token line of sight tool treating size 0.5 tokens as size 1s.
Release v0.4.3
- Changed 'Label Format' and 'Label Format (Elevated)' fields to be text areas to allow multi-line labels.
- Fix error that caused an error when trying to import terrain types from a JSON file which had non-null
elevatedTextFormat
values. - Fix 'None' fill type working identically to 'Solid' fill type.
- Partial compatibility fix with
ui-scaler
module.- Fixes the errors when the mouse is moved (error was due to
ui-scaler
incorrectly wrapping a function). - Does not fix the weirdness with the terrain viewer being in the middle of screen.
- Fixes the errors when the mouse is moved (error was due to
Release v0.4.2
- Fixes an issue where having the visibility radius setting turned on while viewing a scene without any terrain shapes would cause a white circle to appear and follow the mouse.
Release v0.4.1
- Quick change to remove the lower limit on the new texture scaling options. Will now allow negative scales to mirror an image.