Skip to content

v4.5.5

Compare
Choose a tag to compare
@KayelGee KayelGee released this 11 Oct 07:38
· 24 commits to master since this release

v4.5.5

-Add null check to tile loadtexture
-Add null check to width checks because templates can have width==null

v4.5.4

-Actually fix freehand drawings

v4.5.3

-Fix assigning prototypeToken no longer working properly in 10.287

v4.5.2

-Official v10 compatibility and removal of deprecation warnings
-Added libwrapper as a dependency

Bugfixes:
-Switching scenes with the attach ui open will now also close the ui when the user tries to interact with it
-Fix deleting elements while in QuickEdit throwing an exception when leaving QuickEdit, which prevents the rest to be saved properly

v10 Compatibility and deprecation warnings:
-Refactor data into document
-Refactor actor.token into actor.prototypToken
-Add shape.width/height and shape.points to offset functions
-Add compatiblity code for tiles and drawings using img instead of texture.src
-Fix QuickEdit div not rotating and having wrong style
-Add additional properties to base position because they are stripped when creating a prototype token
-Texture path is now stored in element.texture.src instead of element.img/element.texture
-Refactor some variables to have more meaningful names(although it's still a little inconsistent)
-Fix Export dialog target.pack ist now target[0].dataset.pack and pack.documentName is pack.metadata.type
-Fix Import dialog fd.toObject is deprecated in favor of fd.object
-Update module.json for v10
-Fix freehand and polygon drawings not having points in pairs
Fix purgeTAData macro
Fix toggle hidden state base+children macro

v4.4.5

-Fix the fix that was supposed to remove the deprecation warning, which broke the compendium migration

v4.4.4

-Add support for wall-height version 4.x. wall height 3.x won't be supported in the future, but for now both work. Migration macros for actors and compendiums are in the example macros.

v4.4.3

-Add option to canMoveConstrained that allows unconstrained movement

v4.4.2

-Add console message and notification to JSON import so it's clearer for the user when it's finished(because of some compendiums take a few seconds to import)
-Add a queue to the GM message listener so the messages can be awaited before working on the next one. This fixes the mount up macro(and other macros doing something similar) not properly setting locked and canMoveConstrained when called from a player instead of the GM.

v4.4.1

-Fix still creating a name with a dot in JSON Import

v4.4.0

Features:
-Update readme to make clearer and give a better overview
-Add canMoveConstrained flag and API to set this flag so a attached element is allowed to move within area of base token. This is only supported for Tokens for now.(See Mount Up macro for an example)
Bugfixes:
-Fix JSON Import not slugifying name
-Correctly define compatibleCoreVersion as whole v9
-Fix mount up macro not working in v9
-Fix blank space in UI not being click through
-Fix lock and unlock not having tooltips
-Fix TA position updates being saved for non base tokens
-Fix detaching leaving token attacher flags on the detached elements

v4.3.1

-Fix compendium migration api throwing an exception and stopping when an actor had a prototype token with children that were not properly converted from id to their object.

v4.3.0

-Fix deprecation warning when creating compedium with entity instead of type
-Fix systems not using entityTypes anymore but documentTypes
-Fix AmbientLights not resizing and rotating because dim/bright now reside in data.config instead of data
-Close Attach UI on Instant Attach if attach base doesn't exist
-Add example macro for deleting parent of selected objects(useful when copying elements in Quick Edit mode)

v4.2.1

-Fix Levels offset not being set relative to the base
-Skip update to deleted elements when detaching on delete
-Check if token exists when interacting with attaching ui
-Add error message when the attaching ui is open while assigning a token to an actor

v4.2.0

Features:
-Purge TA data on scene in GM Menu and macro
-Added new migrateAttachedOfBase API which allows manipulation of attached elements similar to migrateElementsInCompendiums
-Creating elements while having the attachment ui open will now attach new elements immediately to the base token, saving you at least one click
-Added Levels/Wall height compatibility. When a base token moves up in elevation it will be passed down to it's children if they have a bottom and/or top set to anything but +/-infinity
-Added Small Vehicles&Mechanisms compatibility option which you have to manually activate for the time being, as I'm not 100% sure it'll have unintended side effects. When the option is active a token base, that has a vehicles drawing, that is setup to capture tokens(auto or manual) attached somewhere in it's tree will not be moved by anything mlt or v&m related. That way you can put base tokens inside of vehicles drawings. This shouldn't affect token bases that have no vehicles drawing or drawings that have not setup capturing of tokens. If you try out the option and something other breaks be sure to notify me, because if nothing breaks I would enable this as a default option in the future.

Macros:
-Added example macros using migrateAttachedOfBase that toggle the hidden state of a token base and it's attachments or propagate the hidden state down to the attachments
-Added the often requested "create template and attach to token" and "remove template" example macros

Bugfixes:
-Fixed error when closing attachment ui after having deleted the token
-Fixed copy & paste using placeableClass instead of documentName(Note the paste hook from foundry uses the class name instead of the documentName which causes this still to not work, but will work once foundry fixes that)
-Base position update moved to preupdate fixing teleportation issues when using waypoints(or dragruler)
-Fixed rotation of tiles with negative width/height
-Properly detach element when it get's deleted(via macros for example)
-Added default grid multiplier when dropping prefab on canvas(in case some older prefabs are still around before this was saved)
-Fixed deleteing base tokens with nested prefabs. Now all attachments should delete properly no matter how deep you nest prefabs. If something doesn't delete properly because of any reason you'll still be able to use the deletemissinglinks macro

v4.1.2

-Only set animate if it was disabled to fix a compatibility issue with mlt

v4.1.1

-fix typo in QuickEdit that prevents saving of offsets

v4.1.0

-Fix incompatibilites with 0.8.x and add support for overhead tiles
-Update deprecated functions
-Fix migration running on worlds where token attacher hasn't been used before
-Fix Drawings not scaling correctly when base token is scaled

-Update libWrapper shim
-New Feature: Disable Animation, see Attach UI and Macro Examples
-New API: migrateElementsInCompendiums for bulk operations on prefabs in compendiums. See macro examples "(TA) disableAnimationForAllBaseTokensInCompendiums" and "(TA) migrateRoofsToBetterRoofs"