update shuttlerc, fix vwdw lock update_position
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / edl.C
index d033b8d5377c00401f16be10989748eb12494041..ddda393dfdc00a43399e7e31bee2af253e3c53d7 100644 (file)
@@ -829,8 +829,8 @@ void EDL::delete_edits(ArrayList<Edit*> *edits, int collapse)
                                edit->startproject -= length;
                }
                delete dead_edit;
-               track->edits->optimize();
        }
+       optimize();
 }
 
 class Range {
@@ -909,7 +909,6 @@ void EDL::move_edit_labels(ArrayList<Edit*> *edits, double dist)
        }
 }
 
-
 void EDL::modify_edithandles(double oldposition, double newposition,
        int currentend, int handle_mode, int edit_labels,
        int edit_plugins, int edit_autos, int group_id)
@@ -917,8 +916,6 @@ void EDL::modify_edithandles(double oldposition, double newposition,
        tracks->modify_edithandles(oldposition, newposition,
                currentend, handle_mode, edit_labels,
                edit_plugins, edit_autos, group_id);
-       labels->modify_handles(oldposition, newposition,
-               currentend, handle_mode, edit_labels);
 }
 
 void EDL::modify_pluginhandles(double oldposition, double newposition,