X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fautomation.C;h=1ce714fbbf715f38985c6ca58624b48df15464a7;hb=32fa5523f2d5a7d6abcbdddce56b8d65cd83fb88;hp=fd2de32255718b163389b2ee930cf71ce82f3ee0;hpb=ea0f83a2b769f440ac637ceee4fca5ea85340cdf;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/automation.C b/cinelerra-5.1/cinelerra/automation.C index fd2de322..1ce714fb 100644 --- a/cinelerra-5.1/cinelerra/automation.C +++ b/cinelerra-5.1/cinelerra/automation.C @@ -76,9 +76,11 @@ int Automation::autogrouptype(int autoidx, Track *track) break; case AUTOMATION_CAMERA_Z: case AUTOMATION_PROJECTOR_Z: - case AUTOMATION_SPEED: autogrouptype = AUTOGROUPTYPE_ZOOM; break; + case AUTOMATION_SPEED: + autogrouptype = AUTOGROUPTYPE_SPEED; + break; case AUTOMATION_FADE: if (track->data_type == TRACK_AUDIO) autogrouptype = AUTOGROUPTYPE_AUDIO_FADE; @@ -98,8 +100,6 @@ void Automation::create_objects() autos[AUTOMATION_MUTE]->create_objects(); autos[AUTOMATION_MUTE]->autoidx = AUTOMATION_MUTE; autos[AUTOMATION_MUTE]->autogrouptype = AUTOGROUPTYPE_INT255; - autos[AUTOMATION_SPEED] = new FloatAutos(edl, track, 1.0); - autos[AUTOMATION_SPEED]->create_objects(); } Automation& Automation::operator=(Automation& automation)