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

Remove extra vision transform that is no longer needed in VisibilityInspector #3820

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Jan 25, 2023

Identify the Bug or Feature request

Relates to #3747, fixes a bug in PR #3813

Description of the Change

With the recent change to FogUtil.calculateVisibility() no longer transforming the vision areas, VisibilityInspector was not correctly updated to handle those changes. The obstructed vision was still being transformed after calling FogUtil.calculateVisibility() despite being created from an area that was already transformed.

Possible Drawbacks

None. Applies to the VisibilityInspector not part of MapTool proper.

Documentation Notes

N/A

Release Notes

N/A


This change is Reviewable

Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kwvanderlinde)

@Phergus Phergus merged commit ef108a3 into RPTools:develop Jan 29, 2023
@kwvanderlinde kwvanderlinde deleted the bugfix/3747-visibility-inspector-fix-extra-transforms branch January 30, 2023 00:26
@cwisniew cwisniew added the performance A performance or quality of life improvement label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance A performance or quality of life improvement
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants