Audio timing will now apply to all selected lines, as well as active line

Originally committed to SVN as r85.
This commit is contained in:
Rodrigo Braz Monteiro 2006-02-20 22:32:20 +00:00
parent 37ec3a7058
commit 8ece0ea54f
2 changed files with 18 additions and 4 deletions

View File

@ -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;i<sels;i++) {
if (i == -1) curDiag = dialogue;
else {
curDiag = grid->GetDialogue(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();

View File

@ -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 ===========================