Skip to content

Handle PAW Field Caching#256

Merged
RCrockford merged 1 commit into
KSP-RO:masterfrom
DRVeyl:PAWDisplayFix
Apr 16, 2021
Merged

Handle PAW Field Caching#256
RCrockford merged 1 commit into
KSP-RO:masterfrom
DRVeyl:PAWDisplayFix

Conversation

@DRVeyl
Copy link
Copy Markdown
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