Skip to content

Commit

Permalink
Fixed a regression that caused BMD and BDL exported models to have in…
Browse files Browse the repository at this point in the history
…valid skinning information.
  • Loading branch information
Sage-of-Mirrors committed Jul 5, 2018
1 parent c02e127 commit 0ef6d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SuperBMD/source/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void ExportAssImp(string fileName, string modelType, ExportSettings setti
}

AssimpContext cont = new AssimpContext();
cont.ExportFile(outScene, fileName, "collada", PostProcessSteps.ValidateDataStructure | PostProcessSteps.JoinIdenticalVertices);
cont.ExportFile(outScene, fileName, "collada", PostProcessSteps.ValidateDataStructure);

if (SkinningEnvelopes.Weights.Count == 0)
return; // There's no skinning information, so we can stop here
Expand Down

0 comments on commit 0ef6d50

Please sign in to comment.