Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoMapping: Fixed automatic output regions for object output #3601

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Mar 6, 2023

With this change, output object layers are taken into account when determining the rule output regions.

The support for outputting objects by AutoMapping is still lacking support for many cases, like polygon/polyline objects or the object alignment setting, but it is at least meant to work for basic rectangle or tile objects.

This change also adjusts tileRegionOfObjectGroup to the change that made object position and size be stored in pixels rather than tiles (55e7767), as was already done for objectsToErase before (521a40a).

Closes #3473

With this change, output object layers are taken into account when
determining the rule output regions.

The support for outputting objects by AutoMapping is still lacking
support for many cases, like polygon/polyline objects or the object
alignment setting, but it is at least meant to work for basic rectangle
or tile objects.

This change also adjusts tileRegionOfObjectGroup to the change that made
object position and size be stored in pixels rather than tiles
(55e7767), as was already done for
objectsToErase before (521a40a).

Closes mapeditor#3473
@bjorn bjorn merged commit 22518c7 into mapeditor:master Mar 6, 2023
@bjorn bjorn deleted the fix-automapping-output-objects branch March 6, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automapping: Output objects don't contribute to output region
1 participant