add dragcheckbox, fix transition plugin title, sams opencv icons, drop libipp in...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / automation.C
index b7c04bdf6801066ef39e672781b73747716d6aab..a407a4899eb22a430dfc62e187d53414c736672b 100644 (file)
@@ -24,7 +24,7 @@
 #include "autos.h"
 #include "atrack.inc"
 #include "bcsignals.h"
-#include "colors.h"
+#include "bccolors.h"
 #include "edl.h"
 #include "edlsession.h"
 #include "filexml.h"
@@ -41,6 +41,7 @@ int Automation::autogrouptypes_fixedrange[] =
        0,
        0,
        0,
+       0,
        1
 };
 
@@ -78,6 +79,9 @@ int Automation::autogrouptype(int autoidx, Track *track)
                case AUTOMATION_PROJECTOR_Z:
                        autogrouptype = AUTOGROUPTYPE_ZOOM;
                        break;
+               case AUTOMATION_SPEED:
+                       autogrouptype = AUTOGROUPTYPE_SPEED;
+                       break;
                case AUTOMATION_FADE:
                        if (track->data_type == TRACK_AUDIO)
                                autogrouptype = AUTOGROUPTYPE_AUDIO_FADE;
@@ -97,8 +101,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)