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 --debug-chrome-regions utility command. #17624

Merged
merged 1 commit into from Feb 22, 2020
Merged

Conversation

pchote
Copy link
Member

@pchote pchote commented Jan 26, 2020

Run e.g. OpenRA.Utility.exe cnc --debug-chrome-regions chrome.png 4 and open the generated chrome.html page in a web browser. The image regions are shown in yellow, and, if you enable your browser's web console, mousing over a region will print its name to the console log.

This PR is low priority compared to the others, but will be useful for modders who will have to adjust their chrome mappings for the new scaling feature.

@Mailaender
Copy link
Member

This nicely highlights all the UI errors I made:

image

Very useful. 👍

@reaperrr reaperrr merged commit 9646363 into OpenRA:bleed Feb 22, 2020
@pchote pchote deleted the render-debug branch July 18, 2020 12:01
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.

None yet

3 participants