mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Removed irrelevant comments
This commit is contained in:
parent
15f9011c5b
commit
2aeb5a0e7d
1 changed files with 0 additions and 5 deletions
|
|
@ -107,19 +107,14 @@ public class MeshExporter
|
|||
/// <summary> Build a mapping between indices in this mesh's bone table (if any), and the glTF joint indices provided. </summary>
|
||||
private Dictionary<ushort, int>? BuildBoneIndexMap(GltfSkeleton skeleton)
|
||||
{
|
||||
Penumbra.Log.Debug("Building Bone Index Map");
|
||||
// A BoneTableIndex of 255 means that this mesh is not skinned.
|
||||
if (XivMesh.BoneTableIndex == 255)
|
||||
{
|
||||
Penumbra.Log.Debug("BoneTableIndex was 255");
|
||||
return null;
|
||||
}
|
||||
|
||||
var xivBoneTable = _mdl.BoneTables[XivMesh.BoneTableIndex];
|
||||
|
||||
var indexMap = new Dictionary<ushort, int>();
|
||||
// #TODO @ackwell maybe fix for V6 Models, I think this works fine.
|
||||
Penumbra.Log.Debug($"Version is 5 {_mdl.Version == MdlFile.V5}");
|
||||
|
||||
foreach (var (xivBoneIndex, tableIndex) in xivBoneTable.BoneIndex.Take((int)xivBoneTable.BoneCount).WithIndex())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue