Bug fixes and build files

This commit is contained in:
AbstractConcept 2022-09-27 00:56:35 -05:00
parent 73f7e32e0c
commit 0e653f863a
252 changed files with 25598 additions and 90 deletions

View file

@ -88,7 +88,9 @@ namespace RimWorldAnimationStudio
animationDef = record.animationDef.Copy();
stageID = record.stageID;
AnimationController.Instance.MakeDirty();
AnimationController.Instance.MakeTimelineDirty();
StageCardManager.Instance.Reset();
StageCardManager.Instance.Initialize();
}
public void Undo()
@ -102,7 +104,7 @@ namespace RimWorldAnimationStudio
futureSnapshots.AddLast(recordToStore);
RestoreToHistoricRecord(recordToRead);
//Debug.Log("Undo : " + recordToStore.eventDesc + " (record ID: " + recordToStore.recordID + ")");
Debug.Log("Undoing : " + recordToStore.eventDesc);
}
public void Redo()
@ -115,7 +117,7 @@ namespace RimWorldAnimationStudio
pastSnapshots.AddLast(recordToReadAndStore);
RestoreToHistoricRecord(recordToReadAndStore);
//Debug.Log("Redo : " + recordToReadAndStore.eventDesc + " (record ID: " + recordToReadAndStore.recordID + ")");
Debug.Log("Redoing : " + recordToReadAndStore.eventDesc);
}
public void ClearHistory()