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

high bit (0x1000) in bsNumUvSets is lost #20

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

skyfox69
Copy link
Contributor

Loading Skyrim version of NIF initializes bsNumUvSets but not numUvSets from older versions. But re-calculating bsNumUvSets in NiGeometryData::bsNumUvSetsCalc() used numUvSets only for calculating high bit. This works well for loading old style NIF and save them with new version but not when loading and saving new style.

Added bsNumUvSets in NiGeometryData::bsNumUvSetsCalc() instead of initializing numUvSets with unknown data in read().

@neomonkeus neomonkeus deleted the bug/bsNumUVSets-gets-lost branch November 9, 2013 14:58
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.

1 participant