-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripting: Restored compatibility for MapObject.polygon
While it seemed like a good idea to use the Qt 6 support for transferring a QPolygonF to/from the JS engine, it caused a compatibility breakage since the Qt 5 version was less strict on the type. The new version required the use of Qt.point to create the polygon's points, whereas previously the points could also be given by constructing a plain JS object like "{ x: 0, y: 0 }". This change restores the behavior as of Tiled 1.10.1. Closes #3845
- Loading branch information
Showing
3 changed files
with
1 addition
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters