1
0
mirror of synced 2025-01-19 01:14:08 +01:00

DAE : Remove spaces in attribute IDs.

This commit is contained in:
KillzXGaming 2019-11-16 15:34:25 -05:00
parent fe68a22e0c
commit 2f328a2664
2 changed files with 3 additions and 3 deletions

View File

@ -349,8 +349,8 @@ namespace FirstPlugin
&& shape.BoneIndices.Type == CmbDataType.UByte; //Noclip checks the type for ubyte so do the same
bool HasWeights = shape.Primatives[0].SkinningMode == SkinningMode.SMOOTH_SKINNING;
/* if (shape.BoneIndices.VertexData != null && HasSkinning && shape.BoneIndices.VertexData.Length > v)
/*
if (shape.BoneIndices.VertexData != null && HasSkinning && shape.BoneIndices.VertexData.Length > v)
{
var BoneIndices = shape.BoneIndices.VertexData[v];
for (int j = 0; j < shape.boneDimension; j++)

View File

@ -47,7 +47,7 @@ namespace Toolbox.Library
public bool HasTans;
public bool HasVertColors;
public string ObjectName;
public int BoneIndex;
public int BoneIndex = -1;
public int MaterialIndex;
public int VertexBufferIndex;
public int DisplayLODIndex;