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

Add the possibility to always show detection circles #19899

Merged
merged 2 commits into from
Jan 30, 2022

Conversation

abcdefg30
Copy link
Member

@abcdefg30 abcdefg30 commented Jan 24, 2022

Closes #19830.

Testcase: Add Visible: Always to the RenderDetectionCircle traits of minelayers or subs in RA.

Copy link
Member

@Mailaender Mailaender left a comment

Choose a reason for hiding this comment

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

Works as promised.

return RenderCircle(self, wr, DetectionCircleVisibility.Always);
}

bool IRenderAnnotations.SpatiallyPartitionable => false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just throwing it in here: We should get around to enabling spatial partitioning on any kind of circles at some point, right now we're rendering any visible circles all the time, regardless of how far they are from the viewport.

@reaperrr reaperrr merged commit 2af8296 into OpenRA:bleed Jan 30, 2022
@abcdefg30 abcdefg30 deleted the withDetection branch January 30, 2022 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RenderDetectionCircle doesnt appear on a call-in Aircraft actor
3 participants