mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-27 22:00:23 -04:00
Fixed #311
This commit is contained in:
parent
bfaa207853
commit
7dbc2ff95d
@ -552,7 +552,7 @@ namespace AssetStudio
|
|||||||
lGeometryElementTangent->GetDirectArray().Add(FbxVector4(tangent.X, tangent.Y, tangent.Z, -tangent.W));
|
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<unsigned char>^ boneIndices = vertex->BoneIndices;
|
||||||
array<float>^ weights4 = vertex->Weights;
|
array<float>^ weights4 = vertex->Weights;
|
||||||
|
@ -509,7 +509,7 @@ namespace AssetStudioGUI
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show($"{ex.Message}\r\n{ex.StackTrace}");
|
MessageBox.Show($"Export GameObject:{j.Text} error\r\n{ex.Message}\r\n{ex.StackTrace}");
|
||||||
}
|
}
|
||||||
|
|
||||||
Progress.Report(++k, count);
|
Progress.Report(++k, count);
|
||||||
@ -541,7 +541,7 @@ namespace AssetStudioGUI
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show($"{ex.Message}\r\n{ex.StackTrace}");
|
MessageBox.Show($"Export Animator:{animator.Text} error\r\n{ex.Message}\r\n{ex.StackTrace}");
|
||||||
Logger.Info("Error in export");
|
Logger.Info("Error in export");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -568,7 +568,7 @@ namespace AssetStudioGUI
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show($"{ex.Message}\r\n{ex.StackTrace}");
|
MessageBox.Show($"Export GameObject:{gameObject.m_Name} error\r\n{ex.Message}\r\n{ex.StackTrace}");
|
||||||
Logger.Info("Error in export");
|
Logger.Info("Error in export");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user