Use the skeleton from the NPC's set model (bug #4747) #2069
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug 4747.
Previously only the animations and not the skeleton were used from the mModel field in NPC record. This caused NPCs with changed model often lack the nodes necessary to perform the animations from the models or use set body parts of their race.
Now non-werewolf NPCs will use the skeleton of the model set in their record and fallback to their default skeleton otherwise; animations of the default skeleton will be added too, "just in case". As I said under the report, rot has confirmed this should be fine.
This is Teleri Helvi with Khajiit race with Beast flag unchecked. rot's files allow NPCs with it assigned to have tail if it's assigned to their race.
In master, furry Teleri lacks a tail and there are multiple errors and warnings logged:
With these changes they are no more.