Skip to content

Preserve vehicle component visibility #4287

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ColombuxMaximus
Copy link
Contributor

Cached m_bVisible flags before m_ComponentData resets and restored them post-recreation to ensure setVehicleComponentVisible persists through model/variant changes.

Fixes #3888

Before you go ahead and create a pull request, please make sure:

If your work is incomplete, do not prefix your pull request with "WIP", instead
create a draft pull request: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thank you!

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.

Hidden default vehicle components are being redisplayed when changing handling/variant/parts states(fix)
1 participant