fix transition keyframe update when autogenerate keyframes set, revert copy operators...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / plugin.C
index 09d003b318c77513d1babf62bc505f9fc34fd974..36b10330a52fd7c6010f78fed7f42571f4fc8eb0 100644 (file)
@@ -40,7 +40,6 @@
 Plugin::Plugin(EDL *edl, Track *track, const char *title)
  : Edit(edl, track)
 {
-       is_plugin = 1;
        this->track = track;
        this->plugin_set = 0;
        strcpy(this->title, title);
@@ -58,7 +57,6 @@ Plugin::Plugin(EDL *edl, Track *track, const char *title)
 Plugin::Plugin(EDL *edl, PluginSet *plugin_set, const char *title)
  : Edit(edl, plugin_set)
 {
-       is_plugin = 1;
        this->track = plugin_set->track;
        this->plugin_set = plugin_set;
        strcpy(this->title, title);
@@ -132,7 +130,7 @@ void Plugin::copy_base(Edit *edit)
        this->startsource = edit->startsource;
        this->startproject = edit->startproject;
        this->length = edit->length;
-
+       this->orig_id = edit->orig_id;
 
        this->plugin_type = plugin->plugin_type;
        this->in = plugin->in;
@@ -579,8 +577,8 @@ void Plugin::shift(int64_t difference)
 
 void Plugin::dump(FILE *fp)
 {
-       fprintf(fp,"    PLUGIN: type=%d title=\"%s\" on=%d track=%d plugin=%d gui_id=%d\n",
-               plugin_type, title, on, shared_location.module, shared_location.plugin, gui_id);
+       fprintf(fp,"    PLUGIN: type=%d, id %d, orig_id %d, title=\"%s\" on=%d track=%d plugin=%d gui_id=%d\n",
+               plugin_type, id, orig_id, title, on, shared_location.module, shared_location.plugin, gui_id);
        fprintf(fp,"    startproject %jd length %jd\n", startproject, length);
 
        keyframes->dump(fp);