mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Bug fixes and build files
This commit is contained in:
parent
73f7e32e0c
commit
0e653f863a
252 changed files with 25598 additions and 90 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue