Fix build issues
This commit is contained in:
parent
aa9cef7bb0
commit
f8a1e1f82d
@ -294,6 +294,7 @@ namespace FirstPlugin
|
|||||||
v.uv1 = new Vector2(vec4uv1[i].X, vec4uv1[i].Y);
|
v.uv1 = new Vector2(vec4uv1[i].X, vec4uv1[i].Y);
|
||||||
if (vec4uv2.Length > 0)
|
if (vec4uv2.Length > 0)
|
||||||
v.uv2 = new Vector2(vec4uv2[i].X, vec4uv2[i].Y);
|
v.uv2 = new Vector2(vec4uv2[i].X, vec4uv2[i].Y);
|
||||||
|
|
||||||
if (vec4w0.Length > 0)
|
if (vec4w0.Length > 0)
|
||||||
{
|
{
|
||||||
v.boneWeights.Add(vec4w0[i].X);
|
v.boneWeights.Add(vec4w0[i].X);
|
||||||
@ -307,7 +308,6 @@ namespace FirstPlugin
|
|||||||
v.boneIds.Add((int)vec4i0[i].Y);
|
v.boneIds.Add((int)vec4i0[i].Y);
|
||||||
v.boneIds.Add((int)vec4i0[i].Z);
|
v.boneIds.Add((int)vec4i0[i].Z);
|
||||||
v.boneIds.Add((int)vec4i0[i].W);
|
v.boneIds.Add((int)vec4i0[i].W);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vec4t0.Length > 0)
|
if (vec4t0.Length > 0)
|
||||||
@ -644,9 +644,6 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
byte[] ParamData = WriteShaderParams(m, mat);
|
byte[] ParamData = WriteShaderParams(m, mat);
|
||||||
|
|
||||||
if (ParamData.Length != mat.ShaderParamData.Length)
|
|
||||||
throw new Exception("Param size mis match!");
|
|
||||||
else
|
|
||||||
mat.ShaderParamData = ParamData;
|
mat.ShaderParamData = ParamData;
|
||||||
|
|
||||||
WriteRenderInfo(m, mat);
|
WriteRenderInfo(m, mat);
|
||||||
|
@ -213,6 +213,8 @@
|
|||||||
<Compile Include="FileFormats\Archives\DARC.cs" />
|
<Compile Include="FileFormats\Archives\DARC.cs" />
|
||||||
<Compile Include="FileFormats\Archives\DAT_Bayonetta.cs" />
|
<Compile Include="FileFormats\Archives\DAT_Bayonetta.cs" />
|
||||||
<Compile Include="FileFormats\Archives\GFA.cs" />
|
<Compile Include="FileFormats\Archives\GFA.cs" />
|
||||||
|
<Compile Include="FileFormats\LM1\LM1_MDL.cs" />
|
||||||
|
<Compile Include="FileFormats\MarioParty\HSF.cs" />
|
||||||
<Compile Include="FileFormats\MKAGPDX\LM2_ARCADE_Model.cs" />
|
<Compile Include="FileFormats\MKAGPDX\LM2_ARCADE_Model.cs" />
|
||||||
<Compile Include="FileFormats\NLG\LM2\LM2_Material.cs" />
|
<Compile Include="FileFormats\NLG\LM2\LM2_Material.cs" />
|
||||||
<Compile Include="FileFormats\NLG\LM3\LM3_ChunkTable.cs" />
|
<Compile Include="FileFormats\NLG\LM3\LM3_ChunkTable.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user