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

instance manager for debugging #1697

Merged
merged 3 commits into from
Nov 28, 2022
Merged

instance manager for debugging #1697

merged 3 commits into from
Nov 28, 2022

Conversation

kianzarrin
Copy link
Collaborator

  • To print debug log for something, simply select that thing in default tool (vehicle/building) or in TMPE no subtool mode (node/segment)
  • selecting segment in TMPE no tool mode already selects the instance ID in instance manager. I made modification to do the same to node.
  • for stat/end segment/building, TMPE_GlobalConfict.xml can be used to select one and instance manager can be used to select the other.
    TrafficManager.zip

@kianzarrin kianzarrin added UI User interface updates Settings Road config, mod options, config xml labels Nov 23, 2022
@kianzarrin kianzarrin self-assigned this Nov 23, 2022
@kianzarrin
Copy link
Collaborator Author

on way of doing managing start/end instance is simply to add a button to debug panel to set start Instance to the current instance. end instance can be selected using instance manager afterwards.
also I can add an deselect instance button too.

Copy link
Member

@krzychu124 krzychu124 left a comment

Choose a reason for hiding this comment

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

Looks good, it works, but I'm not sure yet how to handle e.g. vehicle unselect since I usually click on building to reset selection but maybe there is a better way? 🤷‍♂️

@krzychu124 krzychu124 added this to the 11.7.3.0 milestone Nov 26, 2022
@kianzarrin kianzarrin merged commit 863c9e8 into master Nov 28, 2022
@kianzarrin kianzarrin deleted the InstanceID-Debugger branch November 28, 2022 19:50
@krzychu124 krzychu124 mentioned this pull request Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Settings Road config, mod options, config xml UI User interface updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants