mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Updated bone import maximum
This commit is contained in:
parent
b5a469c524
commit
5e4ba55fdb
2 changed files with 3 additions and 3 deletions
2
.idea/.idea.Penumbra/.idea/indexLayout.xml
generated
2
.idea/.idea.Penumbra/.idea/indexLayout.xml
generated
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ContentModelUserStore">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
|
|
|
|||
|
|
@ -234,10 +234,10 @@ public partial class ModelImporter(ModelRoot model, IoNotifier notifier)
|
|||
boneIndices.Add((ushort)boneIndex);
|
||||
}
|
||||
|
||||
if (boneIndices.Count > 64)
|
||||
if (boneIndices.Count > 128)
|
||||
throw notifier.Exception("XIV does not support meshes weighted to a total of more than 64 bones.");
|
||||
|
||||
var boneIndicesArray = new ushort[64];
|
||||
var boneIndicesArray = new ushort[128];
|
||||
Array.Copy(boneIndices.ToArray(), boneIndicesArray, boneIndices.Count);
|
||||
|
||||
var boneTableIndex = _boneTables.Count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue