Skip to content

Commit

Permalink
Fix the object viewer fix....
Browse files Browse the repository at this point in the history
  • Loading branch information
leezer3 committed Jun 14, 2018
1 parent 74a6476 commit be0979c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/ObjectViewer/Parsers/AnimatedObjectParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ internal static ObjectManager.AnimatedObjectCollection ReadObject(string FileNam
Result.Objects[ObjectCount].States[k].Object = ObjectManager.LoadStaticObject(StateFiles[k], Encoding, LoadMode, false, ForceTextureRepeatX, ForceTextureRepeatY);
if (Result.Objects[ObjectCount].States[k].Object != null)
{
Result.Objects[ObjectCount].States[k].Position = Position;
Result.Objects[ObjectCount].States[k].Object.Dynamic = true;
for (int l = 0; l < Result.Objects[ObjectCount].States[k].Object.Mesh.Materials.Length; l++)
{
Expand Down

0 comments on commit be0979c

Please sign in to comment.