add Autosave continuous backups by Andras Reuss and Andrew-R
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / autos.C
index a2914d82e274573704b6f1332e3039b8e24b4cc9..a48afbb508531f1abc99c477dbf9a6a46f853df5 100644 (file)
@@ -274,6 +274,12 @@ Auto* Autos::get_auto_at_position(double position)
        return 0;
 }
 
+Auto* Autos::get_auto(int id)
+{
+       Auto *current = first;
+       while( current && current->orig_id != id ) current = NEXT;
+       return current;
+}
 
 Auto* Autos::get_auto_for_editing(double position, int create)
 {