Merge branch 'development' of https://github.com/o3de/o3de into cgalvan/RemovedUnusedViewPaneClass
This commit is contained in:
@@ -1046,7 +1046,12 @@ void CTrackViewDialog::OnAddSequence()
|
||||
AzToolsFramework::ScopedUndoBatch undoBatch("Create TrackView Director Node");
|
||||
sequenceManager->CreateSequence(sequenceName, sequenceType);
|
||||
CTrackViewSequence* newSequence = sequenceManager->GetSequenceByName(sequenceName);
|
||||
AZ_Assert(newSequence, "Creating new sequence failed.");
|
||||
|
||||
if (!newSequence)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
undoBatch.MarkEntityDirty(newSequence->GetSequenceComponentEntityId());
|
||||
|
||||
// make it the currently selected sequence
|
||||
|
||||
Reference in New Issue
Block a user