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

Fixes #2607

Merged
merged 6 commits into from Oct 22, 2020
Merged

Fixes #2607

merged 6 commits into from Oct 22, 2020

Conversation

ohlidalp
Copy link
Member

Fixes #2430

Problem: Beacon props generated by ActorSpawner::ProcessWings() weren't passed on to GfxActor.
Reason: Props were passed on GfxActor creation which happened before ActorSpawner::ProcessWings()
Solution: Added GfxActor::RegisterProps() which is invoked after ActorSpawner::ProcessWings()

@tritonas00
Copy link
Collaborator

tritonas00 commented Oct 18, 2020

Seems to work fine!

Although they stop when you get out of the actor, don't know if that's normal.

Fixes RigsOfRods#2430

Problem: Beacon props generated by `ActorSpawner::ProcessWings()` weren't passed on to GfxActor.
Reason: Props were passed on GfxActor creation which  happened  before   `ActorSpawner::ProcessWings()`
Solution: Added `GfxActor::RegisterProps()` which is invoked after `ActorSpawner::ProcessWings()`
@ohlidalp
Copy link
Member Author

@tritonas00 Although they stop when you get out of the actor, don't know if that's normal.

That's actually a fantastic observation which provoked 2 additional fixes 👍

@tritonas00
Copy link
Collaborator

tritonas00 commented Oct 20, 2020

Works great except one issue, the blinker indicators in the HUD (mygui) are not working now.

@ohlidalp ohlidalp changed the title Fixed airplane pos lights Fixes Oct 21, 2020
Problem: those dashboard entries were updated from incorrect place - `Actor::UpdateFlareStates()` instead of `Actor::updateDashBoards()`
@ohlidalp
Copy link
Member Author

Fixed both the blinker HUD lamps and the logged mp_* cvars.

@ohlidalp ohlidalp merged commit 29c051b into RigsOfRods:master Oct 22, 2020
@ohlidalp ohlidalp deleted the fix-aerolights branch October 22, 2020 16:03
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.

Default aircraft lights don't work anymore on 0.4.8
2 participants