DAE : Remove spaces in attribute IDs.
This commit is contained in:
parent
fe68a22e0c
commit
2f328a2664
@ -349,8 +349,8 @@ namespace FirstPlugin
|
|||||||
&& shape.BoneIndices.Type == CmbDataType.UByte; //Noclip checks the type for ubyte so do the same
|
&& shape.BoneIndices.Type == CmbDataType.UByte; //Noclip checks the type for ubyte so do the same
|
||||||
|
|
||||||
bool HasWeights = shape.Primatives[0].SkinningMode == SkinningMode.SMOOTH_SKINNING;
|
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];
|
var BoneIndices = shape.BoneIndices.VertexData[v];
|
||||||
for (int j = 0; j < shape.boneDimension; j++)
|
for (int j = 0; j < shape.boneDimension; j++)
|
||||||
|
@ -47,7 +47,7 @@ namespace Toolbox.Library
|
|||||||
public bool HasTans;
|
public bool HasTans;
|
||||||
public bool HasVertColors;
|
public bool HasVertColors;
|
||||||
public string ObjectName;
|
public string ObjectName;
|
||||||
public int BoneIndex;
|
public int BoneIndex = -1;
|
||||||
public int MaterialIndex;
|
public int MaterialIndex;
|
||||||
public int VertexBufferIndex;
|
public int VertexBufferIndex;
|
||||||
public int DisplayLODIndex;
|
public int DisplayLODIndex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user