Skip to content

Commit

Permalink
fixed animation setup logger
Browse files Browse the repository at this point in the history
  • Loading branch information
obivandamme committed Aug 8, 2015
1 parent 9b163ad commit 9a701f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Binary file modified GameData/Workshop/Plugins/Workshop.dll
Binary file not shown.
14 changes: 10 additions & 4 deletions Source/Workshop/Workshop/OSEModuleWorkshop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,11 @@ private void SetupAnimations()
_heatAnimation.wrapMode = WrapMode.ClampForever;
animator.Blend("workshop_emissive");
break;
}
Debug.LogError("[OSE] - OnLoad - Unable to load workshop_emissive animation");
}
else
{
Debug.LogError("[OSE] - Unable to load workshop_emissive animation");
}
}
foreach (var animator in part.FindModelAnimators("work"))
{
Expand All @@ -150,9 +153,12 @@ private void SetupAnimations()
_workAnimation.speed = 0;
_workAnimation.enabled = true;
_workAnimation.wrapMode = WrapMode.ClampForever;
animator.Blend("work");
animator.Blend("work");
}
else
{
Debug.LogError("[OSE] - Unable to load work animation");
}
Debug.LogError("[OSE] - OnLoad - Unable to load work animation");
}
}
}
Expand Down

0 comments on commit 9a701f7

Please sign in to comment.