mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Update ModelImporter.cs
updated error text
This commit is contained in:
parent
5e4ba55fdb
commit
677c7bdf9a
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ public partial class ModelImporter(ModelRoot model, IoNotifier notifier)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (boneIndices.Count > 128)
|
if (boneIndices.Count > 128)
|
||||||
throw notifier.Exception("XIV does not support meshes weighted to a total of more than 64 bones.");
|
throw notifier.Exception("XIV does not support meshes weighted to a total of more than 128 bones.");
|
||||||
|
|
||||||
var boneIndicesArray = new ushort[128];
|
var boneIndicesArray = new ushort[128];
|
||||||
Array.Copy(boneIndices.ToArray(), boneIndicesArray, boneIndices.Count);
|
Array.Copy(boneIndices.ToArray(), boneIndicesArray, boneIndices.Count);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue