From 0e527355eb19cfec1d0b4a4d853cf3bf9dc0ef2c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 20 May 2010 08:55:13 +0000 Subject: [PATCH] Kill some code that was last uncommented before revision 1000. Originally committed to SVN as r4314. --- aegisub/src/subs_grid.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/aegisub/src/subs_grid.cpp b/aegisub/src/subs_grid.cpp index a9b31061b..f6bab0f18 100644 --- a/aegisub/src/subs_grid.cpp +++ b/aegisub/src/subs_grid.cpp @@ -173,14 +173,6 @@ void SubtitlesGrid::OnPopupMenu(bool alternate) { menu.Append(MENU_INSERT_AFTER_VIDEO,_("Insert at video time (after)"),_T("Inserts a line after current, starting at video time"))->Enable(state); menu.AppendSeparator(); - // Video/time sync - //state = (video && VideoContext::Get()->IsLoaded()); - //menu.Append(MENU_SET_VIDEO_TO_START,_("Jump video to start"),_T("Sets current video time to start time"))->Enable(state); - //menu.Append(MENU_SET_VIDEO_TO_END,_("Jump video to end"),_T("Sets current video time to end time"))->Enable(state); - //menu.Append(MENU_SET_START_TO_VIDEO,_("Set start to video"),_T("Sets start times to current video time"))->Enable(state); - //menu.Append(MENU_SET_END_TO_VIDEO,_("Set end to video"),_T("Sets end times to current video time"))->Enable(state); - //menu.AppendSeparator(); - // Duplicate selection menu.Append(MENU_DUPLICATE,_("&Duplicate"),_("Duplicate the selected lines"))->Enable(continuous); menu.Append(MENU_DUPLICATE_NEXT_FRAME,_("&Duplicate and shift by 1 frame"),_("Duplicate lines and shift by one frame"))->Enable(continuous && VFR_Output.IsLoaded()); @@ -1312,7 +1304,6 @@ void SubtitlesGrid::DuplicateLines(int n1,int n2,bool nextFrame) { for (int i=n1;i<=n2;i++) { // Create if (i == n2) update = true; - //cur = new AssDialogue(GetDialogue(i+step)->data); cur = new AssDialogue(GetDialogue(i)->GetEntryData()); // Shift to next frame @@ -1324,7 +1315,6 @@ void SubtitlesGrid::DuplicateLines(int n1,int n2,bool nextFrame) { } // Insert - //InsertLine(cur,n1+step,false,update); InsertLine(cur,n2+step,true,update); step++; } @@ -1491,10 +1481,6 @@ void SubtitlesGrid::CommitChanges(bool force,bool videoOnly) { VideoContext::Get()->Stop(); } - // Export - //wxString workfile = VideoContext::Get()->GetTempWorkFile(); - //ass->Export(workfile); - // Update video if (VideoContext::Get()->IsLoaded()) VideoContext::Get()->Refresh(false,true);