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

[Regression] Handle case in the editor when actor's bodypart was not found #2029

Merged
merged 1 commit into from Nov 12, 2018

Conversation

akortunov
Copy link
Collaborator

@akortunov akortunov commented Nov 8, 2018

Fixes a regression in the NPC's rendering feature in the editor.
Currently we do not fully handle a case, when a suitable bodypart was not found in the map (for example, a weapon bodypart, or a tail bodypart for humanoid races).
As a result, a bodypart ID string can contain a random data.

@zinnschlag, I suggest you to take a look at this PR ASAP - it may fix your issue with bad allocs.

@zinnschlag
Copy link
Contributor

Looks like this may do it. Will get to it as soon as I can. Anyway, there is no reason for hurry. Not going to restart the RC build process over this one feature.

@zinnschlag
Copy link
Contributor

Okay, that seems to fix the issue. Good catch!

@psi29a
Copy link
Member

psi29a commented Nov 12, 2018

Merging.

@psi29a psi29a merged commit 194232a into OpenMW:master Nov 12, 2018
@akortunov
Copy link
Collaborator Author

akortunov commented Nov 12, 2018

Probably we should restore actor's rendering in the 0.45 branch now.

@psi29a
Copy link
Member

psi29a commented Nov 12, 2018

That's already been done.

@akortunov akortunov deleted the actorfix branch October 30, 2019 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants