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 initial actor's transparency #2177

Merged
merged 2 commits into from
Feb 22, 2019
Merged

Handle initial actor's transparency #2177

merged 2 commits into from
Feb 22, 2019

Conversation

akortunov
Copy link
Collaborator

Fixes bug #4860.

The main idea:

  1. Move visibility update to the separate function
  2. Call it after adding actor to scene as well during actor's update.

Note: when we teleport player, we can not check distance to actor since player still has old coordinates.
I do not know how to handle this case - for now I just ignore the visibility check.

@psi29a
Copy link
Member

psi29a commented Feb 22, 2019

I'll take it, thank you.

@psi29a psi29a merged commit 09d57c5 into OpenMW:master Feb 22, 2019
@akortunov akortunov deleted the alpha branch October 30, 2019 18:14
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.

2 participants