This commit is contained in:
Perfare
2018-11-21 16:13:32 +08:00
parent bfaa207853
commit 7dbc2ff95d
2 changed files with 4 additions and 4 deletions

View File

@ -552,7 +552,7 @@ namespace AssetStudio
lGeometryElementTangent->GetDirectArray().Add(FbxVector4(tangent.X, tangent.Y, tangent.Z, -tangent.W));
}
if (hasBones)
if (hasBones && vertex->BoneIndices != nullptr)
{
array<unsigned char>^ boneIndices = vertex->BoneIndices;
array<float>^ weights4 = vertex->Weights;