Update ModelImporter.cs

updated error text
This commit is contained in:
dollth.ing 2024-12-17 12:50:45 +13:00 committed by GitHub
parent 5e4ba55fdb
commit 677c7bdf9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,7 +235,7 @@ public partial class ModelImporter(ModelRoot model, IoNotifier notifier)
}
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];
Array.Copy(boneIndices.ToArray(), boneIndicesArray, boneIndices.Count);