Skip to content

Commit

Permalink
Graphics lib updated
Browse files Browse the repository at this point in the history
  • Loading branch information
VelouriasMoon committed May 12, 2022
1 parent 517c2e5 commit 559a030
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FE3D/bin
FE3D/obj
FE3D.Graphics/bin
FE3D.Graphics/obj
6 changes: 3 additions & 3 deletions FE3D.Graphics/FE3D.Graphics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -484,14 +484,14 @@
<Compile Include="SPICA\Serialization\Serializer\RefValue.cs" />
<Compile Include="SPICA\Serialization\Serializer\Section.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FE3D\FE3D.csproj">
<Project>{5b7b0d72-dc09-4344-a8c6-f616c23dd20b}</Project>
<Name>FE3D</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
5 changes: 4 additions & 1 deletion FE3D.Graphics/SPICA/Serialization/BinaryDeserializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,12 @@ private object ReadReference(Type Type, FieldInfo Info = null)

BaseStream.Seek(Address, SeekOrigin.Begin);

Value = IsList(Type)
if (Address <= BaseStream.Length)
{
Value = IsList(Type)
? ReadList(Type, Range, Length)
: ReadValue(Type, true);
}

BaseStream.Seek(Position, SeekOrigin.Begin);
}
Expand Down
Binary file modified FE3D.Graphics/bin/Release/FE3D.Graphics.dll
Binary file not shown.
Binary file modified FE3D.Graphics/bin/Release/FE3D.Graphics.pdb
Binary file not shown.
Binary file modified FE3D.Graphics/bin/Release/FE3D.dll
Binary file not shown.
Binary file modified FE3D.Graphics/bin/Release/FE3D.pdb
Binary file not shown.

0 comments on commit 559a030

Please sign in to comment.