Try to fix some errors
This commit is contained in:
parent
f7d674fe18
commit
6d33556e2c
@ -240,7 +240,7 @@ namespace FirstPlugin
|
||||
throw new NotImplementedException("Cannot set image data! Operation not implemented!");
|
||||
}
|
||||
|
||||
public override byte[] GetImageData(int ArrayLevel = 0, int MipLevel = 0)
|
||||
public override byte[] GetImageData(int ArrayLevel = 0, int MipLevel = 0, int DepthLevel = 0)
|
||||
{
|
||||
if (GX2Surface != null)
|
||||
{
|
||||
|
@ -129,6 +129,7 @@ namespace FirstPlugin
|
||||
animCurve.Keys[i, 1] = Delta;
|
||||
}
|
||||
|
||||
animCurve.StartFrame = animCurve.Frames.Max();
|
||||
animCurve.EndFrame = animCurve.Frames.Max();
|
||||
if (animCurve.Keys.Length > 1)
|
||||
animCurve.Delta = values[values.Count - 1] - values[0];
|
||||
|
@ -414,6 +414,8 @@ namespace Toolbox.Library.Rendering
|
||||
|
||||
public void DrawModel(GLControl control, STSkeleton Skeleton, STGenericMaterial Material, STGenericObject m, ShaderProgram shader)
|
||||
{
|
||||
GL.PushAttrib(AttribMask.ColorBufferBit);
|
||||
|
||||
if (m.PolygonGroups.Count > 0)
|
||||
{
|
||||
foreach (var group in m.PolygonGroups)
|
||||
@ -473,6 +475,7 @@ namespace Toolbox.Library.Rendering
|
||||
}
|
||||
}
|
||||
|
||||
GL.PopAttrib();
|
||||
}
|
||||
|
||||
private static void DrawModelWireframe(STGenericObject p, ShaderProgram shader)
|
||||
|
BIN
Toolbox/Lib/SPICA.Rendering.dll
Normal file
BIN
Toolbox/Lib/SPICA.Rendering.dll
Normal file
Binary file not shown.
BIN
Toolbox/Lib/SPICA.Rendering.pdb
Normal file
BIN
Toolbox/Lib/SPICA.Rendering.pdb
Normal file
Binary file not shown.
BIN
Toolbox/Lib/SPICA.dll
Normal file
BIN
Toolbox/Lib/SPICA.dll
Normal file
Binary file not shown.
BIN
Toolbox/Lib/SPICA.pdb
Normal file
BIN
Toolbox/Lib/SPICA.pdb
Normal file
Binary file not shown.
BIN
Toolbox/Lib/yaz0_x86.dll
Normal file
BIN
Toolbox/Lib/yaz0_x86.dll
Normal file
Binary file not shown.
@ -509,6 +509,12 @@
|
||||
<Content Include="Lib\SharpYaml.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Lib\SPICA.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Lib\SPICA.Rendering.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Lib\SuperBMDLib.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@ -542,6 +548,7 @@
|
||||
<Content Include="Lib\Yaz0.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Lib\yaz0_x86.dll" />
|
||||
<Content Include="LZ4.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
Loading…
x
Reference in New Issue
Block a user