forked from mia/Aegisub
Issue #516 - Resample dialog no longer affects karaoke templater lines.
Originally committed to SVN as r1467.
This commit is contained in:
parent
17c1a5801f
commit
d162cb440a
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ void DialogResample::OnResample (wxCommandEvent &event) {
|
||||||
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
|
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
|
||||||
// Apply to dialogues
|
// Apply to dialogues
|
||||||
curDiag = AssEntry::GetAsDialogue(*cur);
|
curDiag = AssEntry::GetAsDialogue(*cur);
|
||||||
if (curDiag) {
|
if (curDiag && !(curDiag->Comment && (curDiag->Effect.StartsWith(_T("template")) || curDiag->Effect.StartsWith(_T("code"))))) {
|
||||||
try {
|
try {
|
||||||
// Override tags
|
// Override tags
|
||||||
curDiag->ParseASSTags();
|
curDiag->ParseASSTags();
|
||||||
|
|
Loading…
Reference in a new issue