Skip to content

in v14 the Rotate Area Region Behavior is bugged for Tiles and animations #6925

Description

@Freeze023

Note this is for v14 only:

  1. When using the Rotate Area behavior a tile gets rotated wrongly because the x and y of a TileDocument is the center of the tile. Some math in the behavior is therefore no longer needed for Tiles.
  2. Currently for "updating" the placeable doc inside static #animateFrame it uses Object.assign(doc, updates);. This appears to be not accepted by v14 and requires it to be doc.updateSource(updates); then the animation happens smoothly again for all placeables.
  3. Apparently not necessary but maybe advisable but in the same static #animateFrame, is to also change the wall's assignment of c instead of doing doc.c = [array] also doing doc.updateSource({c: [array]}); for consistency only.

EDIT: updateSource is not the solution it locks the Token document in place afterwards... investigating further

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions