mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Bug fixes
This commit is contained in:
parent
7e1680a7fb
commit
73f7e32e0c
69 changed files with 107 additions and 91 deletions
|
@ -31,18 +31,12 @@ namespace RimWorldAnimationStudio
|
|||
{ return -1; }
|
||||
|
||||
if (animationDef.animationStages[stageID].stageWindowSize < 0)
|
||||
{ return animationDef.animationStages[stageID].animationClips.Select(x => x.duration).Max(); }
|
||||
{ animationDef.animationStages[stageID].stageWindowSize = animationDef.animationStages[stageID].animationClips.Select(x => x.duration).Max(); }
|
||||
|
||||
return animationDef.animationStages[stageID].stageWindowSize;
|
||||
}
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
//if (isDirty)
|
||||
//{ TrackChanges(); }
|
||||
}
|
||||
|
||||
public PawnKeyframe GetCurrentPawnKeyframe(bool makeKeyframe = false)
|
||||
{
|
||||
int stageTick = AnimationController.Instance.stageTick;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue