Skip to content
Snippets Groups Projects
Commit 47525fd1 authored by Amorilia's avatar Amorilia
Browse files

Fixed NiSkinPartition.SetStripCount bug (see niftools issue #3395587).

parent 91f534f1
No related branches found
No related tags found
No related merge requests found
...@@ -576,6 +576,7 @@ void NiSkinPartition::SetStripCount( int partition, int n ) { ...@@ -576,6 +576,7 @@ void NiSkinPartition::SetStripCount( int partition, int n ) {
part.strips.resize(n); part.strips.resize(n);
part.stripLengths.resize(n); part.stripLengths.resize(n);
part.hasFaces = (n!=0); part.hasFaces = (n!=0);
part.numStrips = n;
} }
vector<unsigned short> NiSkinPartition::GetStrip( int partition, int index ) const { vector<unsigned short> NiSkinPartition::GetStrip( int partition, int index ) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment