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

Handle PAW Field Caching #256

Merged
merged 1 commit into from
Apr 16, 2021
Merged

Handle PAW Field Caching #256

merged 1 commit into from
Apr 16, 2021

Conversation

DRVeyl
Copy link
Collaborator

@DRVeyl DRVeyl commented Mar 27, 2021

Fixes #255
KSP after 1.8 is cacheing more PAW fields. In 1.10, the created event buttons hang around and don't get cleared by PAW creation, only by refresh. Catch the PAW show event and request a refresh if one is requested.
Refactor UpdateUsedBy a little. Every tank PartModule iterating over every vessel PartModule to build the UsedBy mapping may need analysis

Fixes KSP-RO#255
KSP after 1.8 is cacheing more PAW fields.  In 1.10, the created event buttons hang around and don't get cleared by PAW creation, only by refresh.  Catch the PAW show event and request a refresh if one is requested.
Refactor UpdateUsedBy a little.  Every tank PartModule iterating over every vessel PartModule to build the UsedBy mapping may need analysis
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.

Lingering fuel information after opening/closing the PAW and removing/adding engines
2 participants