From 8ece0ea54f971c1739c2333ef7ef45286fa6c9d5 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Mon, 20 Feb 2006 22:32:20 +0000 Subject: [PATCH] Audio timing will now apply to all selected lines, as well as active line Originally committed to SVN as r85. --- core/audio_display.cpp | 21 +++++++++++++++++---- core/changelog.txt | 1 + 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/core/audio_display.cpp b/core/audio_display.cpp index c068c9611..caacb3e88 100644 --- a/core/audio_display.cpp +++ b/core/audio_display.cpp @@ -976,11 +976,24 @@ void AudioDisplay::CommitChanges () { karSyl = karaoke->curSyllable; } - // Update dialogue + // Update dialogues blockUpdate = true; - dialogue->Start.SetMS(curStartMS); - dialogue->End.SetMS(curEndMS); - dialogue->UpdateData(); + wxArrayInt sel = grid->GetSelection(); + int sels = sel.Count(); + AssDialogue *curDiag; + for (int i=-1;iGetDialogue(sel[i]); + if (curDiag == dialogue) continue; + } + + curDiag->Start.SetMS(curStartMS); + curDiag->End.SetMS(curEndMS); + curDiag->UpdateData(); + } + + // Update grid grid->SetRowToLine(line_n,dialogue); grid->editBox->Update(!karaoke->enabled); grid->ass->FlagAsModified(); diff --git a/core/changelog.txt b/core/changelog.txt index 4f50cb037..a3b7c7da8 100644 --- a/core/changelog.txt +++ b/core/changelog.txt @@ -33,6 +33,7 @@ Please visit http://aegisub.net to download latest version - Fonts collector will now default collection to same folder as script (Set to "?script" on config.dat) (AMZ) - Alt+Left/Right on the video seek bar will now seek by increments of 10 frames (increment is customizeable in config.dat) (AMZ) - Added a simple audio resync method for video playback (AMZ) +- Audio timing will now apply to all selected lines, as well as active line (AMZ) = 1.09 beta - 2006.01.16 ===========================